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 |
What is concurrent hashmap and its features?
What is bean? Where it can be used?
Why collection doesn’t extend cloneable and serializable interfaces?
What are the notations in Java?
How do you use parseint in java?
What is a null check?
How do you load an HTML page from an Applet ?
how can u handle run time exception in java? explain with brief explanation with examples?
How to convert a string to long?
What is string in java? String is a data type?
What are different types of classloaders?
What is extension method in java?