How many ways can an argument be passed to a subroutine?
Answer Posted / 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 |
Post New Answer View All Answers
According to java operator precedence, which operator is considered to be with highest precedence?
How do you compare arrays in java?
What are the java ide’s?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
When should you use arraylist and when should you use linkedlist?
Which collection is best for sorting in java?
Why main method is static in java?
What is private protected in java?
Why do we need variables?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What is string value?
Why is java architectural neutral?
Explain the concept of proper inheritance?
What do u mean by variable?
How do you initialize an arraylist in java?