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

How thread scheduler schedule the task?

578


What happens when a thrown exception is not handled?

576


How do I type unicode?

525


What is a jagged array in java?

528


Can a private method of a superclass be declared within a subclass?

525






Explain working of call by reference function invoking.

585


What are default methods ?

572


Difference between ‘is-a’ and ‘has-a’ relationship in java?

533


Difference between abstract and concrete class ?

579


What is the difference between serializable and externalizable interfaces?

565


What is the purpose of extern variable?

527


how are methods defined?

547


What restrictions are placed on method overloading in java programming?

563


What is tree in java?

483


Tell me the latest versions in java related areas?

576