Explain pass by reference and pass by value?

Answer Posted / dsr

The changes made in formal parameters will reflet to the
actual parameters.This is Known as pass by value.
The changes made in formal parameters will not reflet to
the actual parameters.This is Known as pass by reference.
java is completely pass by value.

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data string?

691


Explain the differences between static and dynamic variables?

845


What does java final mean?

721


Why is the main method static?

876


What is a default method?

760


what is the significance of listiterator in java?

807


What does regex mean?

766


What are the skills required for core java?

764


Can we write any code after throw statement?

820


make a method which any number and any type of argument and print sum of that arguments.....

1589


What is object data type?

780


what do you understand by the term string with respect to java?

776


Distinguish between a predicate and a function?

773


What are basic keywords?

795


How do you use equal in java?

734