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
How do you clear a list in java?
Explain wait(), notify() and notifyall() methods of object class ?
What are the 8 primitive data types in java?
How do you sort a string in java?
What is use of arraylist in java?
What does opcode mean?
What is use of functional interface in java 8? Explain
Explain reverse a linked list iterative solution in java?
What is the reason behind using constructors and destructors?
What is nan inf?
How does split work in java?
What is main difference between variable and constant?
What does it mean that strings are immutable?
What is java literals?
What is the vector class in java programming?