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 an infinite loop?
What is the core java?
Which is better stringbuilder or stringbuffer?
How many static init can you have?
What are synchronized blocks in java?
How many types of array are there?
Why is java so popular?
What is hotjava?
What is hashing in java?
Why string is not a wrapper class?
What are controls and their different types in awt?
What are the basics of core java?
Why we go for collections in java?
What is a substring of a string?
Is a copy constructor?