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 is string made of?
What is the driver class?
Justify your answer that you can't define a method inside another method in java, if you can then how?
Is string is a keyword in java?
What is a java lambda expression?
Is sizeof a keyword in java programming?
What is type parameter in java?
Is array serializable java?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is the different between get and post?
What is locale?
What do you mean by pointer value and address?
What does provide mean construction?
What is a super method?
What is module in oop?