| Author |
Rules on Casting Objects
|
Paulo Aquino
Ranch Hand
Joined: Apr 29, 2002
Posts: 200
|
|
Hey guys, can you help me in here? i've read somewhere ( i think a java cert book ) that there are rules to follow when you cast objects, interfaces and arrays...the problem is i dont have that java cert book...anyway can anyone point mo to the right directions? thanks in advance!
|
Be Afraid...Be very Afraid...
|
 |
Dave Vick
Ranch Hand
Joined: May 10, 2001
Posts: 3244
|
|
Paulo Check out the JLS section 5.1.4 and 5.1.5 for the rules on reference conversions. For a more easily read example check out the online book Thinking in Java hope that helps
|
Dave
|
 |
 |
|
|
subject: Rules on Casting Objects
|
|
|