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 a java object and java application?

1059


What is an enumeration?

1076


What is stack class in java?

1052


How to display all the prime numbers between 1 and 100

1022


What is a singleton in genetics?

1087


What is busy spin, and why should you use it?

1096


How do you define a method?

986


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1199


What comes to mind when someone mentions a shallow copy in java?

1120


explain copyonwritearraylist and when do we use copyonwritearraylist?

956


When throw keyword is used?

1078


What language is an assembler written in?

1006


What is the difference between int and integer in java?

1042


What is the size of an array?

1045


Explain different types of wrapper classes in java?

1033