Canít Always Cast
Canít do this:
if ((boolean) x) System.out.println(ěCongratulations, itís a Boole!î);
Sometimes casts are automatic, and are called conversions
Previous slide
Next slide
Back to first slide
View graphic version