public class RefInt
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
n
The int value itself.
|
| Constructor and Description |
|---|
RefInt()
The
value is not yet set. |
RefInt(int n)
The
value is set to 'n'. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Return
n — as a String. |