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
How many threads can I run java?
What are controls and their different types in awt?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
Why is boolean important?
What do you mean by constructor?
What are basic data types?
Explain aggregation in java?
What is meant by main method?
What's the difference between an abstract class and interface in java?
How we create object in copy constructor?
What is the static variable?
How do you add an element to an arraylist in java?
How to sort double array in java?
Can you extend main method in java?
How are variables stored?