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 are inbuilt functions in java?
What do you mean by an object in java?
How do you sort in descending order in java using collections sort?
What is an object’s lock and which object’s have locks?
Why do we need hashset in java?
What is the size of arraylist in java?
Define a package.
Can we create an object of private class?
What are the topics in advance java?
What is meant by javabeans?
What will happen if static modifier is removed from the signature of the main method?
Does java set allow duplicates?
What is java developer skills?
What is bufferedreader in java?
What is exception in java?