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

Is java pass by value or pass by reference?

1033


Why do we need hashmap in java?

1176


What is hashmap in java?

1111


How do you declare a destructor in java?

1085


How are variables stored?

1033


What does the exclamation mark mean in java?

1320


What is a method header?

1076


What data structures are used to perform recursion?

1103


What is an off by one error in java?

998


What is static class

1163


How to find the given number is a prime number or not by getting input from the user

1157


What is thread safe in java?

1047


What are inner classes or non static nested classes in java?

1218


Can we pass null as argument in java?

1002


Explain the difference between protected and default access.

1045