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


Please Help Members By Posting Answers For Below Questions

Is java se free?

738


Can classes declared using the abstract keyword cab be instantiated?

853


Write a java program that prints all the values given at command-line.

785


What is regex java?

829


What is the difference between assignment and initialization?

837


Is java 11 paid version?

755


Can we override private methods?

794


How variables are stored in memory?

749


What do you mean by composition in java?

801


explain multi-threading in java?

812


What are the differences between forwarding () method and sendredirect() methods?

866


What is object cloning in Java?

890


How many java versions are there?

785


What is java regex?

782


what do you mean by stream pipelining in java 8? Explain

814