There one parameter passing mechanisms in Java: pass-by-value. It is essential that you understand how pass-by-value works for primitive types and for reference types.