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

What does it mean that a method or field is “static”?

927


Can we clone singleton object in java?

969


State the merge-sort principle and its time complexity.

931


Explain the difference between hashmap and hashtable in java?

894


define the terminology association.

1058


When do I need to use reflection feature in java?

1015


What occurs when an object is constructed?

945


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

1810


Tell me about your ability to work under pressure

2150


Explain about the interpreter in java?

1001


What are structs in java?

1013


what is difference betweem home interface and remote interface?

2573


What is the use of volatile in java?

1003


What is the significance of java packages?

1072


What are desktop procedures?

1013