Multiple choice technology programming languages

java doesnot support pass by referrence only pass by value

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Java DOES support pass-by-reference in a limited sense - object references are passed by value. When you pass an object reference, you can modify the object's contents but cannot make the reference point to a different object. The claim that Java 'does not support pass by reference only pass by value' is therefore false - it's more nuanced.