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
What is a numeric literal?
Can you override static methods?
How many types of exception can occur in a java program?
Can we compare two strings in java?
What is a website container?
What is independent and dependent variables in research?
What is string english?
How can a gui component handle its own events?
What is array sorting in java?
How to perform linear search in java?
What do you understand by java virtual machine?
What is fail first in java?
Define canvas?
Is empty string in java?
How can the checkbox class be used to create a radio button?