1.

Which of these class contains all the methods present in Math class?(a) SystemMath(b) StrictMath(c) Compiler(d) ClassLoader

Answer» The correct choice is (b) StrictMath

Easy explanation: SystemMath class defines a complete set of mathematical methods that are parallel those in Math class. The difference is that the StrictMath version is guaranteed to generate precisely identical results across all Java implementations.


Discussion

No Comment Found

Related InterviewSolutions