Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 is boolean strategy?

0 Answers  


How many boolean functions are there?

0 Answers  


How do you print array in java?

0 Answers  


Explain different ways of creating a thread. Which one would you prefer and why?

0 Answers  


How does finally block differ from finalize() method?

0 Answers  






What is the difference between path and classpath variables?

0 Answers  


Why a dead thread occurs?

0 Answers  


What is the purpose of using break in each case of switch statement?

0 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


In Serialization, whether you will use Static variables?

3 Answers   HCL,


What is java argument list?

0 Answers  


What is parsing a string?

0 Answers  






Categories