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 the purpose of the wait(), notify(), and notifyall() methods? : Java thread
How can I become a good programmer?
Why is multithreading important?
Explain about the select method with an example?
What is null in java?
What is functional interface in java example?
Explain super keyword in java.
What are the advantages of unicode?
what happens when a thread cannot acquire a lock on an object? : Java thread
What is difference between static and abstract class?
Explain java coding standards for variables ?
How will you reverse a link list without using recursion?
what is instanceof operator used in java?
Does apple use java?
What is the purpose of skeleton and stub?