Which is a correct static method call of Math class method sqrt?

a. sqrt(900);
b. math.sqrt(900);
c. Math.sqrt(900);
d. Math math = new Math();
math.sqrt(900);

c. Math.sqrt(900);

Computer Science & Information Technology

You might also like to view...

The ____ loop condition is evaluated after the instructions within the loop are processed.

A. posttest B. pretest C. before D. after

Computer Science & Information Technology

Which statement is true regarding the principles of an object-oriented language?

A. Persistence is not an optional object-oriented language requirement. B. Inheritance does not occur when a new class is derived from an existing class or base class. C. Encapsulation means hiding data in a class from other classes. D. Class variables should not be global so all elements of the program can see them.

Computer Science & Information Technology