What is the difference between Object and Instance?
Answer Posted / titupathirao
For example, if I declare a class like
Animal a=new Animal();
Is variable 'a' in above is an instance which has an object of Animal type?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is arraylist sorted in java?
What two classes are used to read data only?
Can we force the garbage collection to run?
What is the difference between the direct buffer and non-direct buffer in java?
Which is illegal identifier in java?
What causes memory leak in java?
Is singleton class thread safe?
What is printwriter in java?
How many bits is a string?
Can we create an object of static class in java?
Explain the concept of proper inheritance?
What is the main purpose of serialization in java?
What an i/o filter?
What are the differences between c++ and java?
Explain scope or life time of local variables in java?