|
|
|
|
If you wish to pass an argument of a primitive type to a method that expects a reference to an object, then you wrap the value in its corresponding wrapper class:
The above code will compile, and the instance of class Note: All the wrapper classes live in the
|
|
This page was last modified on 02 October, 2007 |