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

What is a string token?

1118


What is return data type?

1055


What restrictions are placed on method overriding?

1238


Why we use multi threading instead of multiprocessing?

1120


Explain wait() method of object class ?

1285


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

1164


Why pointers are not used in java?

1177


which class is the wait() method defined in? : Java thread

990


What is return null in java?

1019


what is the purpose of using rmisecuritymanager in rmi?

1012


What is externalizable?

1115


What is a singleton class? Give a practical example of its usage.

1144


What is the type of lambda expression?

1082


Is list ordered in java?

1023


What is a for loop in java?

1093