|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
To
get a primitive type on the heap,
|
|
|
|
– |
you
have to use a wrapper class:
|
|
|
|
– |
(Boolean,
Character, Byte, Short, Integer,
|
|
|
|
Long,
Float, Double, Void)
|
|
|
|
• |
Character
Reference = new Character(‘z’);
|
|
|
|
– |
But,
since there is no operator overloading
|
|
|
|
• |
We
must use methods instead of operators when
|
|
|
working
with them
|
|
|
|