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 pass by reference?
What are the different access modifiers available in java?
What is finalize() function in java?
What are locale settings?
How do you define a method?
What is the difference between ArrayList and Vector? which one is better in Java
Can you explain the cs option of java interpreter?
What do you mean by inner class in java?
What is a text string?
What are three ways in which a thread can enter the waiting state in java programming?
What is polymorphism in java? What are the kinds of polymorphism?
How many ways can you break a singleton class in java?
What is the use of optional ?
What is meant by 'Class access modifiers'?
What is the difference between call by reference and call by pointer?