where the static methods will live ,on stack ? can you
explain brefly



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

Post New Answer

More Core Java Interview Questions

Objects or references which of them gets garbage collected?

0 Answers  


What are the 6 functions?

0 Answers  


What is the difference between multitasking and multithreading in Java

0 Answers   Sans Pareil IT Services,


What is a list in java?

0 Answers  


Explain exception chaining in java?

0 Answers   Cyient,






What is arraylist e in java?

0 Answers  


What is meant by JVM ?

6 Answers  


Define packages in java?

0 Answers  


Is integer immutable in java?

0 Answers  


Explain what access modifiers can be used for methods?

0 Answers  


Can we catch more than one exception in single catch block?

0 Answers  


How to run a JAR file through command prompt?

0 Answers  


Categories