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
Differece between class and generic class?
Can an interface implement another interface?
What about abstract classes in java?
What is the order of arraylist in java?
What is a treeset in java?
What is the primitive type short?
What is java full form?
Is java util regex pattern thread safe?
What is the file extension for java?
What all access modifiers are allowed for top class ?
What are the types of sockets in java?
Does google use java?
How do you use compareto method?
Explain wrapper classes in java?
What is static and final keyword in java?