what is the use of reference variable

Answer Posted / venkatesh

reference will act as variable to point an object. Instead
of giving direct memory location(using pointers)to the
programmer java internally converted them into references,
so that java can avoid memory leaks and increase performance
in accessing object.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can list contain null in java?

873


Can private method static?

643


Explain the scope of a variable.

843


What is the size of int in 64-bit jvm?

760


What is double in java?

731


Can we force garbage collector to run ?

775


Is there any tag in htm to upload and download files?

819


What is a lightweight component?

791


Difference between static and dynamic class loading.

793


What is java console application?

750


What are the features in java?

798


What is the collections api?

778


What are the Main functions of Java?

825


Why is a constant variable important?

682


How do you create a bulleted list?

816