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

How many ways can an argument be passed to a subroutine?

Answer Posted / samborn pen

An argument can be passed in two ways. They
are passing by value and passing by reference. Passing by
value: This method copies the value of an argument into the
formal parameter of the subroutine. Passing by reference: In
this method, a reference to an argument (not the value of
the argument) is passed to the parameter.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is length in java?

1001


What do you mean by hashing?

1088


Can you have two constructors in java?

951


how can you take care of mutual exclusion using java threads? : Java thread

1022


What is sizeof in java?

1087


What are different types of inner classes ?

1028


What is a lock or purpose of locks in java?

1004


What is difference between final and immutable?

1124


What does the @override annotation do?

1023


What is file in java?

1011


Difference between a process and a program?

1099


What is boolean flag in java?

1074


Name some classes present in java.util.regex package.

1020


What is the difference between throw and throws in java?

1078


Is java good for beginners?

997