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 flush buffer?
What is difference between float and double?
What are basic keywords?
What is palindrome in java?
Define an abstract class with reference to java.
What is an iterator java?
Java Compiler is stored in JDK, JRE or JVM?
Differentiate storage classes on the basis of their scope?
What is parsing and its types?
Can we use string in the switch case?
What is the use of singleton class?
How many types of methods are there in java?
Can we execute java program without main method?
How many types of exception can occur in a java program?
What is hash table in java?