What is the difference between static and non-static
variables?
Answer Posted / javeed
* Non-static which ia(instence variable) can be accessed
only inside a non-sattic method.
* A static variable can be axxessed in both static and non-
static methods.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What does \ mean in regex?
Is the empty set a singleton?
What's the purpose of using break in each case of switch statement?
What are the escape sequences in java?
Is java a utf 8 string?
What function extracts specified characters from a string?
Can we rethrow the same exception from catch handler?
What is the purpose of methodology?
what is an objects lock and which objects have locks? : Java thread
What is the different between get and post?
What means public static?
Why does java have two ways to create child threads?
What are different types of states exist for a thread?
What is the meaning of variables in research?
What do you understand by final value?