Examveda

What is a "static" method in Java?

A. A method that belongs to the class rather than an instance

B. A method that cannot be called from other classes

C. A method that cannot be overridden

D. A method that returns a static value

Answer: Option A


This Question Belongs to Java Program >> Constructors And Methods

Join The Discussion

Related Questions on Constructors and Methods

What is a constructor in Java?

A. A special method to create instances of classes

B. A method used for mathematical calculations

C. A method to perform string manipulations

D. An exception handling mechanism