Does Java passe parameters by value or by reference? Do you know how an object reference in Java works? What happens when a String or a StringBuffer value is changed?
To find these answers, watch this Java Challenger!
Get the code of the Java Challengers and run your own tests:
https://javachallengers.com/code
For more, go to https://javachallengers.com