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

How do you create a first line indent?

0 Answers  


What is string manipulation?

0 Answers  


What is the difference between variable declaration and variable initialization?

0 Answers  


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

0 Answers  


What is the use of bin and lib in JDK?

8 Answers   TCS,






Why synchronization is important?

0 Answers  


Is static a singleton?

0 Answers  


What is the length of a string?

0 Answers  


What is the size of int?

0 Answers  


What is inheritance?

5 Answers   Accenture, Hexaware, Syntel,


Can we override private constructor in java?

0 Answers  


What is the difference between JDK and JVM?

0 Answers  


Categories