Answer Posted / ranganathkini
A static method may be called in 2 ways:
1. Thru the class reference
2. Thru the instance reference of the class
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is a condition in programming?
What is abstraction in java?
What is a double?
What is the purpose of the enableevents() method in java programming?
What are different types of arrays?
What are the various access specifiers for java classes?
When object is created and destroyed?
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
How do you control extraneous variables?
How to split a string in java?
When to use runnable interface vs thread class in java?
Will the jvm load the package twice at runtime?
What about interthread communication and how it takes place in java?
What is use of arraylist in java?
If try block is successfully executed, Then Is Finally block executed?