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
时间: 2024-10-13 06:08:25
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