Question: Question 1 4 If a method is declared static in Java, which of the following is true? It can only be called on a child
Question
If a method is declared static in Java, which of the following is true?
It can only be called on a child class that overrides the method.
It can be called on a class or object, but should be called on a class.
It can be called on a class or object, but should be called on an object.
It does not return anything.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
