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
Is integer immutable in java?
How to sort list of list in java?
Can list contain null in java?
Explain polymorphism citing an example.
What is a prefix function.write down a code to compute prefix function.
What is the base class of all classes?
What is use of a abstract variable?
Why can't we override private static methods?
Why Java doesn’t support multiple inheritance?
Explain different states of a thread in java?
Give the hierarchy of inputstream and outputstream classes.
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
Why super is first line in java?
What state is a thread in when it is executing?
How many decimal digits is 64 bit?