What is difference between static method and static
variable?
Answer Posted / archana
if we declare a variable as static then it has only one copy
for all classes. if a method is declared as static without
using object we can call it.
| Is This Answer Correct ? | 11 Yes | 9 No |
Post New Answer View All Answers
What are methods of a class?
How many bytes is 255 characters?
What is bitwise complement?
What is boolean strategy?
What is the difference between synchronized and synchronized block?
What is volatile keyword in java
What is a methodologist?
What is a copy constructor in java?
Explain the difference between association, aggregation and inheritance relationships.
What are the different types of methodologies?
What about instanceof operator in java?
What is adapter in java?
What do you mean by singleton class in java?
What is the importance of static variable?
How do you find the absolute value?