Java is Pass by value or Pass by reference

In java there is nothing like pass-by-reference .The primitive type variables are passed by value straight but when you pass a reference to some other object as a argument then the bit’s that are the value of the reference variable that tells jvm how to get to the object in heap are copied.