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 does java pattern compile work?

908


Can we use string in the switch case?

981


Can we override singleton class?

922


How do I know if java is installed?

1012


What is difference between static variable and global variable?

991


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

1043


What is dynamic binding(late binding)?

973


Can we clone singleton class in java?

906


What is a void in java?

1063


What are java packages?

973


How many bytes is a unicode character?

951


What are the types of relation?

992


What is difference between fail-fast and fail-safe?

1174


What is subsequence of a string?

1032


Is 9 a prime number?

830