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
Is overriding possible in java?
What is the java reflection api? Why it’s so important to have?
Can we use switch statement with strings?
What is meant by null and void?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
How to display arraylist values in java?
Can two objects have same hashcode?
What is byte [] in java?
What is difference between wait and notify in java?
What is the differences between heap and stack memory in java? Explain
Why vector class is used?
How is the marker interface used in Java?
How do you represent a space in regex java?
What is the concatenation operator in java?
what do you understand by synchronization? : Java thread