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

Which command from the jdk compiles a java program?

719


What is bytecode in java ?

880


What are the methods to rectify ambiguities in the interfaces in JAVA?

856


What is java reflection api?

786


What are voids?

757


What are filterstreams?

857


What is the hashcode () and equals () used for?

763


How to use Media tracker Class.

892


Can main() method in java can return any data?

928


How do you create a first line indent?

756


Explain about OOPS concepts and fundamentals.

840


Why method overriding is used?

801


What does substring mean?

732


What does indexof mean?

737


How many bytes is a char in java?

806