where the static methods will live ,on stack ? can you
explain brefly
Answer Posted / 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 View All Answers
What is a boolean expression in java?
How to make a write-only class in java?
Can you inherit a constructor java?
What is the console in java?
Explain about wait() method?
Why do I need to declare the type of a variable in java?
What are passing parameters?
what is the difference between Object Based Language and Object Oriented Language?
Explain, java is compatible with all servers but not all browsers?
What is the purpose of checked and unchecked exceptions in JAVA?
What was java originally called?
What is the core java?
Why java does not support pointers?
What is constructor chaining in java?
What happens if we don’t override run method ?