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
What is the use of a conditional inclusion statement in Java ?
What is final, finally, finalize?
Difference between error and exception
Is there any difference between nested classes and inner classes?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What are the steps involved to create a bean?
Tell us something about an iterator.
How does singleton class work?
What is meant by call by reference?
What is serial version uid and its importance in java?
Can you call a method on a null object?
What is the do while loop syntax?
How is garbage collection controlled?
What is broken and continue statement?
Name component subclasses that support painting in java programming?