Explain pass by reference and pass by value?
Answer Posted / dsr
The changes made in formal parameters will reflet to the
actual parameters.This is Known as pass by value.
The changes made in formal parameters will not reflet to
the actual parameters.This is Known as pass by reference.
java is completely pass by value.
Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
State the main difference between c++ and java?
What is difference between throw and throws ?
What is style and indentation?
explain multi-threading in java?
What is the difference between the paint() and repaint() methods in java programming?
What is the nested interface?
Does substring start with 0?
What is not object oriented programming?
Write the algorithm to check the number non-leaf nodes in a tree.
What is an infinite loop? How infinite loop is declared?
What is the default value of local and global variables?
What are constants?
what is optional in java 8?
What is a values collection view ?
Why multiple inheritance is not supported by java?