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?

Answers were Sorted based on User's Feedback



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

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

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

Answer / vijayakumar chinnasamy

In java the arguments are passed by pass by value . Using
this pass by value way u can pass both primitive and object
type values.

Is This Answer Correct ?    6 Yes 1 No

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

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

More Core Java Interview Questions

what is object slice?

0 Answers  


Does java support Operator Overloading?

0 Answers   Flextronics,


Why is inheritance used in java?

0 Answers  


Explain method overloading?

0 Answers  


What is class and its types?

0 Answers  


what is Remote Reference Layer ?

1 Answers  


How do you create a bulleted list?

0 Answers  


What is annotation in java?

0 Answers  


How many decimal places is a double?

0 Answers  


Does constructor return any value?

0 Answers  


What is finalize method?

0 Answers  


WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT INTERFACE THEN WHY WE USED IN JAVA?

3 Answers   L&T,


Categories