Wednesday, April 18, 2007

How is an argument passed in Java methods?

In Java no matter if the variable is primitive datatype or an object when passed as an argument to a method, they are always passed by value.

This is a most common error that most of newcomers to language and even veterans do in understanding this concept.

Please go through to following link on website for a detailed discussion and understanding of this concept.



Interview Questions On Java,Java EE Copyright © 2017. Reads: best tracker