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

Why a dead thread occurs?

785


Explain the importance of join() method in thread class?

855


How do you escape a string?

741


Is vector synchronized in java?

744


What happens if we don’t override run method ?

778


Why hashmap is used in java?

785


What is the file extension for java?

859


Is nullpointerexception checked or unchecked?

776


How does arrays sort work in java?

818


Which of the following classes will have more memory allocated?

803


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

826


What is string buffer?

735


Which package is used for pattern matching with regular expressions?

871


Why can't we override private static methods?

748


What is singleton class in ruby?

809