Answer Posted / hemanta paudel
Every data are store in memory and that memory has literal
name that is called variable.There are two type of variable
in java
1. Local variable :- that variable which is declare in
method body or argument list called as local variable and
its are store in stack.
2. Instance Variable:-those variable which are declare
within a class and obtain the memory when the instance of
class is created. Each instance have own variable.
3. Static or class variable:- those variable which are
declare using static keyword and they are load in memory
when class is loaded.
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Explain JMS in detail.
What is high level language in computer?
What is an array length?
What is predicate in java?
Why java is made?
Explain about automatic type conversion in java?
Write java program to reverse string without using api?
Why is static used?
How many threads can java run?
What is an image buffer?
Why convert an applet to an application?
Why should I use abstract class?
Where will it be used?
What is file in java?
What are static blocks and static initalizers in java ?