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

which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

10962


What is derived datatype?

1153


What is JVM and is it platform independent?

993


what is the significance of listiterator in java?

1029


Explain the selection sort algorithm and state its time complexity?

967


Which is better 64 bit or 32 bit?

877


What is a nonetype?

1050


What is the destroy method?

997


What is tcp and udp?

952


What are checked exceptions?

968


How big is a boolean?

985


Explain the inheritance?

925


What is anagram number?

882


What classes of exceptions may be caught by a catch clause in java programming?

1115


What is the difference between an inner class and a sub-class?

943