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 consumer interface?
What is integer parseint?
What is string value?
Why declare Main() inside the class in java ?
What restrictions are placed on method overriding in java programming?
Is string a class?
What is the difference between C++ and Java and your preferences?
Can a set contain duplicates?
What does bitwise or mean?
What are extraneous variables examples?
How do I know if java is installed?
Why string is a class?
What is the difference between throw and throws in java?
Can we change the scope of the overridden method in the subclass?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?