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

Can we cast any other type to boolean type with type casting?

0 Answers  


What is implicit object in java?

0 Answers  


What is the difference between Error, defect,fault, failure and mistake?

0 Answers   HCL,


What is meant by method overriding?

0 Answers  


What all access modifiers are allowed for top class ?

0 Answers  






What are daemon Threads in java?

0 Answers   Impetus,


What are the types of inner classes (non-static nested class) used in java?

0 Answers  


What is main method?

0 Answers  


What do you mean by flow of struts?

0 Answers   Amdocs,


What is default specifier ??? Use of default specifier ???

4 Answers   Cognizant, Syntel,


Explain java heap space and garbage collection?

0 Answers  


Howmany number of objects we can store in an ArrayList. Is there any limit?

7 Answers   TCS,


Categories