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
How many unicode characters are there?
What is the use of arraylist in java?
Explain about java sdk?
Why can't we make a class private in java?
Is there is any difference between a scrollbar and a scrollpane?
Can constructor be inherited?
What is hashset in java?
What is the generic class?
What are predicates in java 8?
What is string in java?
How do you format in java?
How to handle a web browser resize operation?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is the use of parse function in java?
Is integer a class?