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

Explain pass by reference and pass by value?

Answer Posted / aravind

Pass By Reference:
Passing the reference of the variable or object. In java
objects are passed by reference.

Pass By Value:
Passing the copy of the value. In java primitives are
passed by value.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use equal in java?

1010


What are encapsulation, inheritance and polymorphism?

957


What do you mean by buffering?

990


Why we use methods in java?

941


Can you add null to a list java?

1008


Can substring create new object?

1068


What if I write static public void instead of public static void in java?

1039


What are recursive functions? Give some examples?

1144


Difference between abstract and concrete class ?

1092


Differences between traditional programming language and object oriented programming language?

1073


What is a memory leak in java?

1023


How we can run a jar file through command prompt in java?

916


Why main function is static?

1154


Difference between Linked list and Queue?

985


What is the current version of java?

986