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 a “stateless” protocol ?
What are mutable classes?
Differentiate between array list and vector in java.
what is meant by Garbage collection?
Can static methods be inherited?
how to handle exceptions in ejb?
What is a for loop in java?
What is return in java?
What is string in java?
What are some examples of variable costs?
What is an 8 bit word?
What is a methodologist?
What is array and arraylist in java?
Write code to implement bubble sort in java?
Is main an identifier?