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
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is lazy initialization in java?
Write a java program to print fibonacci series?
What is java life cycle?
Is list thread safe in java?
How can we access some class in another class in java?
What is math in java?
Which sort is best in java?
Why volatile is used in java?
What is final method in java?
What is file in java?
What are nested classes in java?
How to remove the trailing spaces from a string?
What is an image buffer?
Does printwriter create a file?