Explain different ways of passing arguments to sub-routine?
Answer Posted / niranjanravi
an argument is passed to a sub-routine by 2 differen tways
1.pass by value
2.pass by reference
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is this keyword used for?
Why are parameters used in functions?
What super () does in java?
How many ways can an argument be passed to a subroutine and explain them?
What is length in java?
What is the use of string and stringbuffer?
How do you remove an object from an arraylist in java?
What does int [] mean in java?
What are the differences between getting and load method?
What is the synonym of framework?
What are the changes in java.io in java 8 ?
What is the difference between actual and formal parameters?
Difference between string, string builder, and string buffer?
Where is core java used?
What is the tradeoff between using an unordered array versus an ordered array?