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 do you use equal in java?

1166


Can bool be null?

1030


What is a methodologist?

1138


What is difference between arraylist and list in java?

1131


What does super keyword do?

1141


Implement a stack with push (), pop() and min() in O(1) time.

1159


Which is easier .net or java?

1132


How can I right-justify a string?

1252


Explain 5 io best practices?

1085


Tell me are there implementations for sorting and searching in the java libarary?

1085


Explain about anonymous inner classes ?

1129


What is the arraylist in java?

1112


Explain about field hiding in java?

997


What are daemon Threads in java?

1263


Is a class subclass of itself?

1127