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

Define jre i.e. Java runtime environment?

992


Can a lock be acquired on a class in java programming?

980


What is java command?

1062


Can we execute java program without main method?

1069


Why is the singleton pattern considered to be an anti pattern?

873


What are the properties of thread?

910


Which collection is best for sorting in java?

1111


Can we extend a class with private constructor?

991


What is length in java?

1003


Is set thread safe java?

902


Is char a method in java?

1051


What is a local block?

1113


Can we extend singleton class in java?

945


Explain about member inner classes?

1074


Can we clone singleton object?

1043