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 thread safe in java?

530


How do I enable java in safari?

520


How will you reverse a link list without using recursion?

565


What is difference between pointer and reference?

482


What is mnemonic in assembly language?

526






Why is it called a string?

540


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

1546


What is the difference between error and an exception?

547


Write a program to print fibonacci series up to count 10.

499


what is mutual exclusion? : Java thread

528


What are the 7 types of characters?

542


If you do not want your class to be inherited by any other class. What would you do?

538


Is oracle java 11 free?

503


Can you access non static variable in static context?

532


Is nan false?

510