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

What is concurrent hashmap and its features?

0 Answers  


What is bean? Where it can be used?

0 Answers  


Why collection doesn’t extend cloneable and serializable interfaces?

0 Answers  


What are the notations in Java?

1 Answers   Cap Gemini,


How do you use parseint in java?

0 Answers  






What is a null check?

0 Answers  


How do you load an HTML page from an Applet ?

2 Answers  


how can u handle run time exception in java? explain with brief explanation with examples?

2 Answers   CTS,


How to convert a string to long?

2 Answers  


What is string in java? String is a data type?

0 Answers  


What are different types of classloaders?

0 Answers  


What is extension method in java?

0 Answers  


Categories