Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is java autoboxing?

916


What are the steps in the jdbc connection?

974


How will you print number in reverse (descending) order in BST.

951


How do you define a variable?

909


How to create com object in Java?

1029


What are the types of casting?

1018


Can we call thread start () twice?

924


what do you mean by classloader in java?

987


What is oop in java?

989


What do you mean by Function Overloading in java?

1142


How infinite loop is declared?

983


Define nashorn in java8.

1002


Explain restrictions on using enum?

1033


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

936


What is io stream in java?

1003