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 usage of this with constructors?
Describe the process as to how substring() methodology mechanisms in java.
What is data string?
What is serialversionuid?
Explain the protected field modifier?
What is meant by nested loop?
What are scalar data types?
Which package is always imported by default?
how its run?
What is singleton class and how can we make a class singleton?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
How many bytes is a url?
What do you understand by final value?
What is string length in java?
Does sprintf add a null terminator?