What is a static method in Java?
A. A method that is called on an object.
B. A method that is called on a class itself.
C. A method that is used to create objects.
D. A method that is used to modify objects.
Answer:B
What is a static method in Java?
A. A method that is called on an object. B. A method that is called on a class itself. C. A method that is used to create objects. D. A method that is used to modify objects.