OCAJP – Casting in Java
This post is about the following OCAJP Java certification exam objectives: (7.3) Differentiate between the type of a reference and the type of an object. (7.4) Determine when casting is necessary. The above two objectives in the Java certification exam would test your knowledge on type casting. If you want to be more confident on answering all the questions, then you should have good understanding on type hierarchy, down casting (casting a sub class to super class) and up casting (casting a super class to sub class). Note that OCAJP exam would not check your knowledge on the casting in […]
OCAJP – Casting in Java Read More »



