Answer Posted / pradip mishra(b-tech it)
Lets start with an example. You must have contacts of many
people in your mobile. You can use a contact to call a
person. The person is actually somewhere else, but the
contact helps you to call them. You can think of a
Reference variable to be a contact and Object to be the
actual person you are calling. Basically a reference
variable just points to an actual object. For example if we
have a class,
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is assembly condition codes?
What all methods are used to prevent thread execution ?
What are alternatives to java serialization?
Differentiate between a class and an object.
What is method with example?
What is final, finally, finalize?
Can we write any code after throw statement?
Why method overriding is used?
Why is the main method static?
What is string data?
What is a class object?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What is locale?
How do you add an element to a hashset in java?
What is jit compiler ?