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 is the difference between a field variable and a local variable?
What is polymorphism java example?
What is passing by reference in java?
What is sizeof in java?
What is constructor and its types?
Difference between ‘>>’ and ‘>>>’ operators in java?
State some advantages of java?
How many ways can you break a singleton class in java?
What methods are used to get and set the text label displayed by a button object?
How do constructors use this() and super()?
What is the use of arraylist in java?
Are variables stored in ram?
What are the high-level thread states in java programming?
What is r * in math?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?