what is the use of reference variable

Answer Posted / siri

As Pointers are not safe and secure which allows us to increament or decreament the memory locations such that we can reach the O.S related files.
So to avoid such insecurities we go with Reference Varaibles where we can't increament or decrement memory location of an object.Even if we try to print the address of the object it prints some hash code

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should the method invokelater() be used?

582


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1362


What is meant by design patterns?

587


What is the difference between error and an exception?

567


What is the final keyword denotes?

674






What is integer size in java?

512


What is natural ordering in java?

528


What is the difference between serial and throughput garbage collector?

582


Is set ordered?

540


please send me hr interview questions in it industry

1665


Does chrome use java?

519


What do you mean by global variable?

527


How many types of design patterns are there?

529


What is queue in java?

554


what is the difference between process and thread? : Java thread

563