What is difference between static method and static
variable?
Answer Posted / n.siddardh
static variable copy is available to every object in the
memory if we change one value in an object there no effect
inother objects,and if we declare a method as static that
will be executed by the JVM like main method
The execution of JVM
1.static block
2.static methods
3.Instance methods
Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
What is the difference between jdk and jre?
What is ascii format?
What is the java virtual machine?
What is method in research paper?
How to check if linked list contains loop in java?
What is generic type?
What is java beans?
What is meant by string is immutable?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What are operators and its types?
What is the difference between static and non-static variables in java programming?
What is factor r?
v-model life cycle
Can a source file contain more than one class declaration?
Can a java program have 2 main methods?