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
Explain the difference between treeset and treemap in java?
Does string is thread-safe in java?
what is bmg file and how to create that files?what will it contailn?
Is math an abstract class in java?
Describe the various concepts related to object oriented programming (oop).
What is the arraylist in java?
What is the driver class?
extending thread class or implementing runnable interface. Which is better? : Java thread
How does linkedhashmap work in java?
How would you convert bytes to string?
Is a copy constructor?
What is the default size of load factor in hashing based collection?
What is difference between path and classpath variables?
how to write a server program and sending the mails to the server using smtp protocol please help me
How many types of methods are there in java?