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

What are different exception types exceptions available in java ?

473


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

585


What is the functionality of the stub?

567


What is a ?

747


Which keyword specify that a variable is effectively final ?

562






What is volatile keyword in java

642


Where is core java used?

575


What is hasnext in java?

574


What are the different types of data structures in java?

489


How do you compare arrays in java?

499


What is the purpose of the strictfp keyword?

609


Can we create constructor in abstract class ?

574


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

598


Explain the importance of throwable class and its methods?

565


What is <> used for in java?

666