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

What is join () in java?

522


Can size_t be negative?

604


What is java util hashmap?

508


How do you sort a string in alphabetical order in java?

523


Why is whitespace important?

542






Why are there no global variables in java?

573


Can we use static class instead of singleton?

572


What do you mean by aggregation?

561


What are the advantages of encapsulation in java?

545


What is a parent class in java?

537


Explain about interthread communication and how it takes place in java?

532


Can you instantiate the math class?

594


Explain the use of javap tool.

624


What is integers and example?

484


Explain the difference between arraylist and linkedlist in java?

476