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...

Java is based on pass by reference or pass by value ..

Answer Posted / sanket mehta

Java does not support call by reference because in call by reference we need to pass the address and address are stored in pointers n java does not support pointers and it is because pointers breaks the security. Java is always pass-by-value. Pass by reference in java means the passing the address itself

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the covariant return type?

1085


how can you catch multiple exceptions in java?

1013


Why char array is preferred over string for storing password?

1097


How do you test a method for an exception using junit?

1203


What is the base class in java from which all classes are derived?

974


Does list allow duplicates in java?

928


Can you sort a list in java?

979


Does constructor be static?

1031


What is difference between identifier and variable?

1060


Can java object be locked down for exclusive use by a given thread?

993


What is an example of a boolean?

1052


What is a nullable field?

1034


How garbage collection is done in java?

1046


What happens if we don’t override run method ?

1001


What is return type in java?

1063