首页 > 代码库 > Java is Pass-by-Value!

Java is Pass-by-Value!

Java is strictly pass-by-value. which means, when you pass a variable to a method, the method will just make a copy of that varible and use that copy, not the original one!

check this

Java is Pass-by-Value!