Java is based on pass by reference or pass by value ..
Answer Posted / dheeraj pareek
Java is purely based on "Pass-by-value".
Variables are passed by value, and in case of Object, object reference is passed by value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What all access modifiers are allowed for top class ?
How do I get a substring?
Give us the name of the list layoutmanagers in java?
What is identifier with example?
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.
Difference between object and reference?
What is the program compilation process?
What is a native method in java programming?
What is unicode full form?
What is meant by final class?
What is a container in a gui?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What are the disadvantages of using inner classes?
What is java in layman terms?
How to change value in arraylist java?