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

Difference between throw and throws?

1099


Difference between current previous versions of Java?

1015


What is the vector class in java programming?

1082


How do you sort arrays in java?

925


How is final different from finally and finalize?

924


What is immutable in java?

1063


Does java linked list allow duplicates?

969


What is a top level class in java?

1020


What are the advantages of passing this into a method instead of the current class object itself?

1668


Is an object null?

971


What is a method vs function?

1033


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1023


What is the method to expand and collapse nodes in a jtree?

1039


What is mvc in java?

1011


What is method in java with example?

948