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 / vikas

Pass-by-value means, Passing a copy of the value.
Pass-by-reference means, instead of passing the actual
value, the address(of the value) is passed.

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between processes and threads?

1054


Explain when classnotfoundexception will be raised ?

1042


What's the base class of all exception classes?

1064


What does serializing data mean?

946


Write a program to check string is palindrome without using loop?

1037


Why is it called boolean?

1009


explain what is transient variable in java?

1147


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

1116


Why is it called a string?

1012


Can we call the constructor of a class more than once for an object?

1096


Why synchronization is important?

1029


Which variable is the independent variable?

984


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

2154


What is anti pattern in java?

971


What are wrapped classes in java programming?

1061