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 |
What is the final keyword in java?
What is http client in java?
What is the base class of all classes?
Which sorting is best in java?
Is heap stored in ram?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
Is static variable stored in heap?
What is the java reflection api? Why it’s so important to have?
what is webservices?
Difference String and String Buffer
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
Is a case study a method or methodology?