Answer Posted / srinivaskumar
static and local variable are stored in stack memory,
in case of final variable it is dependent, if final variable is instance it stored in heap, if static it is stored in stack.....
| Is This Answer Correct ? | 3 Yes | 15 No |
Post New Answer View All Answers
What restrictions are placed on method overloading?
What's the base class in java from which all classes are derived?
What is the difference between static and non-static variables in java programming?
Why java does not support pointers?
What is the difference between iterator and enumeration ?
What one should take care of, while serializing the object?
What are advantages and disadvantages of OOPs?
What is the difference between superclass and subclass?
Why stringbuffer is faster than string?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Is java free for businesses?
What are the differences between getting and load method?
What does += mean in java?
What is the size of an array?
What is treeset in java collection?