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 |
Why pass by reference is not possible in java?
Does java allow default arguments?
What is finally in Java?
Explain about version control?
What is persistence ?
How do you use spaces in java?
what are synchronized methods and synchronized statements? : Java thread
What is cloneable interface?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is basic syntax?
What are the important methods of java exception class?
What is Java Package and which package is imported by default?