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
How do you check if two strings are equal in java?
Why put method is idempotent?
What are aggregate functions explain with examples?
What are the new features in java 8?
How will you print number in reverse (descending) order in BST.
What is a heavyweight component?
Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview
What is the final class?
What do you mean by JVM?
Does java vector allow null?
Why java does not support pointers?
Explain 5 features introduced in jdk 1.7?
What are the concepts of 'OOPS'?
Why java is platform independent? Explain.
Can we synchronize static methods in java?