where the static methods will live ,on stack ? can you
explain brefly
Answer / suman rani
As you know static variable directly belongs to the class, so it is be stored in heap area where all the byte code of class are stored.That area is also called permanent code segment area.
Is This Answer Correct ? | 0 Yes | 0 No |
Objects or references which of them gets garbage collected?
What are the 6 functions?
What is the difference between multitasking and multithreading in Java
0 Answers Sans Pareil IT Services,
What is a list in java?
Explain exception chaining in java?
What is arraylist e in java?
What is meant by JVM ?
Define packages in java?
Is integer immutable in java?
Explain what access modifiers can be used for methods?
Can we catch more than one exception in single catch block?
How to run a JAR file through command prompt?