Java 2 Language Features
Overview/Description
To explain how to cast and convert between reference types, handle exceptions, and build multithreaded applications
Target Audience
Programmers wishing to learn the fundamentals of the Java language; more experienced Java programmers studying for the Sun Certified Programmer for the Java 2 Platform exam
Prerequisites
Some knowledge of programming principles; experience in another programming language (e.g. Visual Basic, C, C++) would be useful
Expected Duration
150 Minutes
Objectives:
Java 2 Language Features
explain and use Java's exception handling mechanism.
describe Java's built-in Exception class hierarchy, and be able to handle runtime and checked exceptions.
use the Throws clause and create an Exception subclass.
create a Java application that uses exception-handling code.
outline how to convert between reference types.
explicitly cast between reference types.
describe how to clone and compare Java objects.
explain how to create simple multithreaded applications using either the Thread class or the Runnable interface.
describe the different thread states, change a thread's state, and recognize conditions that might prevent a thread from executing.
describe how to synchronize thread access to code in a multithreaded application.
Course Number: 31654_eng