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

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 in to the formal parameters 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 ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

998


What is the generic class?

905


Difference between static synchronization vs. Instance synchronization?

1049


What is the purpose of garbage collection in java?

1043


What is the concatenation operator in java?

1076


Discuss about garbage collector in Java.

1029


What is purpose of find feature?

1033


Does java map allow duplicates?

839


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

8008


Difference between final and effectively final ?

1024


What is the difference between JDK and JVM?

1180


What is the epoch date?

952


Why is java called java?

981


What is the r character?

969


What is var keyword ?

1127