Explain pass by reference and pass by value?

Answer Posted / srikanth doki

Passing the reference of the variable rather than passing
the value is known as Pass-by-reference and Passing the copy
of value is known as Pass-by-value.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is balanced tree in java?

723


What is the implementation of destroy method in java. Is it native or java code?

737


Difference between this() and super() in java ?

820


Name few java 8 annotations ?

797


Why are getters and setters used?

786


What is the disadvantage of synchronization?

780


What are inbuilt functions?

754


When parseint method can be used?

726


What is the use of coding?

737


What are voids?

747


How do you sort arrays in java?

714


Explain aggregation in java?

748


Explain super keyword in java.

833


What is palindrome in java?

744


What are the different types of sorting in java?

743