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
What is set string?
Implementations of set interface?
What is the need of transient variables in Java ?
Why does java not allow multiple public classes in a java file ?
Discuss 2D arrays.
Name four container classes.
Is break statement can be used as labels in java?
What is deserialization?
What are the properties of thread?
What is static import?
Write java program to reverse string without using api?
Write a java program that prints all the values given at command-line.
can any body body expalin best definitions & best real time exaples for opps concepts.
What is object in java?
Why is boolean important?