What is the difference between Object and Instance?
Answer Posted / nagarjuna
Object is the creating memory location by using new operator
Instance is the creating the reference.
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Can you have two constructors in java?
What is private public protected in java?
Can we declare array without size in java?
Detail discussions on JVM, memory management and garbage collector.
How do I get a substring?
What are controls and their different types in awt?
How to access arraylist elements in java?
How do you use wildcards?
Why does java not support pointers?
If we don’t want some of the fields not to serialize how to do that?
What is covariant return type?
What is pass by value?
Can a hashset contain duplicates java?
What is return data type?
What is a static class in java?