Explain different ways of passing arguments to sub-routine?



Explain different ways of passing arguments to sub-routine?..

Answer / 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

More Core Java Interview Questions

What are field variable and local variable?

3 Answers  


How to convert String into primitive datatype.

6 Answers  


What are thread priorities and importance of thread priorities in java?

0 Answers  


What’s a deadlock?

0 Answers  


What are some characteristics of interference class?

0 Answers  






What do you mean by garbage collection used in java?

0 Answers  


why use interface? if interface declear a method implement in class. why direct implement method in class

1 Answers   HCL,


Is java a software?

0 Answers  


different types of threads?

18 Answers   TCS,


What is a super method?

0 Answers  


What is the difference between declaration and definition in java?

0 Answers  


How to use scanner in java?

1 Answers  


Categories