what is the use of reference variable

Answer Posted / venkatachalapathy

A refference variable is a variable which will act as a
adress to a object.... in stack area and the object which
is created will get allocated memory in heap area.

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of file class?

547


Differentiate between array list and vector in java.

638


How do generics work?

518


What is data object example?

534


How many bits is a char?

535






What is a constructor, constructor overloading in java?

530


Which are different kinds of source code?

662


What is meant by data hiding in java?

636


What is public/private protected in java?

548


What is private static in java?

581


What is lexicographically smallest string?

601


Explain differences between collection api and stream api?

612


Which is better 64 bit or 32 bit?

507


Explain importance of throws keyword in java?

564


What is class and object in java?

555