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
Is arraylist a class in java?
Is the milky way in a void?
How are this() and super() used with constructors in java programming?
Does list maintain insertion order java?
describe synchronization in respect to multithreading? : Java thread
Why parameters should be passed by reference?
Difference between process and thread?
Why declare Main() method as a static in java ?
Can two objects have same hashcode?
How are observer and observable used in java programming?
How do you identify if jvm is 32-bit or 64-bit from java program?
what is difference between equals and ==?
What does super keyword do?
Can you explain the meaning of aggregation and composition
What is string example?