What is the difference between static and non-static
variables?
Answer Posted / pravallika
in case of static variables memory can be allocated only at once and these variables can access with help of class name but where as non static variables have memory can be allocated in separate locations.And these variables can access with help of object
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What is the difference between static binding and dynamic binding?
Write a program in java to find the maximum and minimum value node from a circular linked list.
How will you reverse a singly-link list?
What do you mean by of string::valueof expression in java 8?
What is the use of join method?
What are scriptlets?
What does this () mean in java?
What is the difference between a loader and a compiler?
What is thread life cycle in java?
What is a dynamic array in java?
What exactly is java?
Why string is not a wrapper class?
What is meant by collection in java?
How do you avoid global variables?