When learning the concepts from other languages I learned that
if the changes on the passed parameter reflects the changes in the original object then it is pass by reference
but after reading some blogs I found out that java is
pass by value although it fulfills the above criteria.
What is the real catch here?