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
Can variables be used in java without initialization?
What is the old name of java?
What is functional interface in java example?
What is function overriding and overloading in java?
Which software is used for java programming?
Difference between collection, collection and collections in java?
When should a function throw an exception?
What is object english?
Explain the usage of this with constructors?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is the difference between method overriding and overloading?
What are the 8 primitive data types in java?
Why we do exception handling in java and how many types of exceptions are there?
What are scriptlets?
Why are lists ordered in java?