Java is Pass by Value or Pass by Reference? Explain
Java is pass by value because variables are references and their value is passed to the methods.
This question was asked in a lot of latest core java interview questions.
Java is pass by value because variables are references and their value is passed to the methods.
This question was asked in a lot of latest core java interview questions.