where the static methods will live ,on stack ? can you
explain brefly
Answer Posted / 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 |
Post New Answer View All Answers
Does windows 10 need java?
How big is a 32 bit integer?
What is the difference between abstract classes and interfaces?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What language is java written?
Detail discussions on JVM, memory management and garbage collector.
What does string mean in java?
If two threads have same priority which thread will be executed first ?
When we should use serialization?
What is a numeric digit?
How to check if a list is sorted in java?
What is defined as false sharing in the context of multithreading?
What is the difference between Grid and Gridbaglayout?
Does substring start with 0?
What is the null?