Explain pass by reference and pass by value?
Answer Posted / aravind
Pass By Reference:
Passing the reference of the variable or object. In java
objects are passed by reference.
Pass By Value:
Passing the copy of the value. In java primitives are
passed by value.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain how to convert any java object into byte array.
Is void a keyword in java?
Is main is a keyword?
What is mutable object and immutable object?
What is primitive array?
Can a boolean be null java?
Why to use nested classes in java?
What is return code?
What are heterogeneous objects?
What super () does in java?
Why hashset is used in java?
How do I compare two strings in word in java?
which pattern is default in scanner package?
What is int lol?
How do you reverse a word in java?