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

is java support call by reference and call by value, if
supports please explain?

Answer Posted / renjit mathew

ya java support both.In java when u pass a single type to a
method it passes by value.


Call By Reference:-In java objects are passed by
reference.when you create a variable of a class type,you are
only creating a reference to an object.when you pass this
object to a method the parameter that receives it will refer
to the same object as that refered by the argument

Is This Answer Correct ?    9 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we make sure main() is the last thread to finish in java program?

1192


why would you use a synchronized block vs. Synchronized method? : Java thread

947


What is the console in java?

1147


Is stringwriter thread safe?

994


What is square root in java?

1097


What is the collections api in java programming?

976


How do you identify independent and dependent variables?

1004


What is argument in java?

1009


When is the garbage collection used in Java?

1197


How do you implement polymorphism in our day to day life?

3229


explain multi-threading in java?

1024


Why constructor has no return type?

1099


What is string value?

1156


What is the largest data type in java?

964


What value is a variable of the string type automatically initialized?

1112