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
What data type is a string?
what is interface in java? Explain
What is jvm? How its run?
What are the types of sockets in java?
What do you mean by buffering?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is the file type?
What is "this" keyword in java? Explain
What is length in java?
Explain, java is compatible with all servers but not all browsers?
Why stringbuilder is not thread safe?
Which of the classes will have more memory allocated?
How do you define a singleton class?
Can you add null to a list java?
Is arraylist ordered in java?