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 / venkatesh

Java supports both Pass By Value and Pass By Reference
Pass By Value: In Java method pass value , changed value is
visible within a method, it will not effect outside of the
method

Pass By Reference: Pass Java Object in method , changed
value will be available outside of method also.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we write any code after throw statement?

1043


Write a program to solve producer consumer problem in java?

999


Can we override singleton class?

975


What is static synchronization?

1098


what are the high-level thread states? : Java thread

999


Why bytecode is called bytecode?

1182


What is the difference between the prefix and postfix forms of the ++ operator?

1012


Give the hierarchy of inputstream and outputstream classes.

1094


What is meant by main method?

1051


What about method local inner classes or local inner classes in java?

1042


What do you mean by exception handling in Java?

1279


What is diamond operator in java?

938


Is java a compiler?

969


How do you insert a line break?

904


Explain the protected field modifier?

1075