what is the use of reference variable

Answer Posted / ravikiran(aptech mumbai)

A reference variable is used to refer a particular object
location which resides on a garbage collectable heap

Is This Answer Correct ?    22 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain spliterator in java8?

789


What are the drawbacks of reflection?

767


Explain the difference between extends thread vs implements runnable in java?

810


Why is java logo a cup of coffee?

820


What is the difference between == and === javascript?

809


Can one thread block the other thread?

789


What is the main purpose of serialization in java?

784


Write a java program that prints all the values given at command-line.

760


How do you declare a destructor in java?

706


Can there be an abstract method without an abstract class?

730


Write a function for palindrome and factorial and explain?

857


Why arraylist is used in java?

764


What is module in oop?

773


Why does java not support pointers?

776


What is a parameter in simple terms?

751