Computer Applications

A static class method can be invoked by simply using the name of the method alone. (True/False)

User Defined Methods

2 Likes

Answer

False

Reason — A method declared as static can be invoked by using the syntax <class name>.<method name>. For example, in Math.pow() function, Math is the name of the class and pow() is its static function.

Answered By

1 Like


Related Questions