Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 16 Online
OpenStudy (anonymous):

Which of the following Java statements would display a result of 25.0? System.out.println(math.pow(5)); System.out.println(math.pow(2, 5)); System.out.println(math.pow(5, 5)); System.out.println(math.pow(5, 2));

OpenStudy (anonymous):

I'm thinking it's System.out.println(math.pow(5, 2));

OpenStudy (anonymous):

pow(double a, double b) Returns the value of the first argument raised to the power of the second argument.

OpenStudy (anonymous):

so yes you're right

OpenStudy (anonymous):

You're going to get a bunch of medals out of me today, haha.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!