DEVFYI - Developer Resource - FYI

Why are the methods of the Math class static?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

309. Why are the methods of the Math class static?

So they can be invoked as if they are a mathematical code library.

(Continued on next question...)

Other Interview Questions