What is difference between static method and static
variable?
Answer Posted / jimm
static variable can be used by static as well as non-static
method.
and static method only uses static variable
| Is This Answer Correct ? | 12 Yes | 8 No |
Post New Answer View All Answers
What are the two parts of a conditional statement?
How to instantiate member inner class?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What are the classes of java?
Why is whitespace important?
What is tree in java?
How is hashcode calculated in java?
What is percentage in java?
What is the technique adopted to create an immutable class?
What are the important methods of java exception class?
What are the access modifiers available in java?
What is Gang of four design patterns
What sorting algorithm does javascript use?
Can we execute a program without main() method?
how to convert Java project into Maven ?