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 use catch statement for checked exceptions when there is no chance of raising exception in our code?
What is identifier with example?
Define Wrapper Classes in Java.
what is bmg file and how to create that files?what will it contailn?
0 Answers HCL, Probe Services,
Why is java architectural neutral?
What are the five major types of reference sources?
What is a text string?
without using arthematic operation ,how can you write the logic for adding/substraction/multiplication?
7 Answers Tanla Solutions, Wipro,
Will the jvm load the package twice at runtime?
What is jpa specification?
What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks
Mention a package that is used for linked list class in java.