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 |
Can we override static methods in java?
Explain the concept of proper inheritance?
0 Answers Thomson Reuters, Virtusa,
What are the default and parameterized constructors?
What is internal variable?
How many bits is a double?
What are the special characters?
What is casting?
List some oops concepts in java?
What is scope & storage allocation of global and extern variables? Explain with an example
When object is created and destroyed?
Describe what happens when an object is created in java ?
What is double parsedouble in java?