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 auto boxing
What is finally in Java?
What are the different types of inner classes?
Explain about data types?
Does string is thread-safe in java?
What is local class in java?
Is java call by value?
How to count occurrences of each duplicate element in a list {a,b,d,c,a,b} ? Thanks in Advance
what do you understand by the term string with respect to java?
Can a class with private constructor be extended?
Is arraylist ordered?
What are user defined exceptions?