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 the use of keywords in java?
What methods are used to get and set the text label displayed by a button object?
What is the primitive type byte?
How do you compare values in java?
Java Compiler is stored in JDK, JRE or JVM?
What state is a thread in when it is executing?
Can an abstract class be a final class?
What is the difference between sop and work instruction?
Tell me the Importent classes in net package?
Do I need java on my pc?
When will we use them?
How can we use primitive data types as objects?
What do the thread?class methods run() and start() do?
Is it safe to install java on my computer?
How does singleton class work?