Audience
This course is intended for programmers who are interested in adding the Java programming language to their list of skill and students who are preparing for the Sun Certified Programmer for Java 2 Platform exam.
Objective
Upon completion of this course the student will be able to:
Sequence the events that occur when an exception is encountered during the execution of a Java program.
Match common Java exceptions with their causes.
Identify characteristics of the keywords used in exception handling.
Identify the benefits of threads in Java.
Match the methods of the Thread class with their functions.
Identify the code for creating a thread by extending the Thread class.Topics Include
Unit 1: Exceptions and Assertions
- Sequence the events that occur when an exception is encountered during the execution of a Java program.
- Match common Java exceptions with their causes.
- Identify characteristics of the keywords used in exception handling.
- Identify the code for working with chained exceptions.
- Identify the code for handling exceptions.
- Identify features of assertions in Java programs.
- Differentiate between the syntax used in the two forms of the assert statement.
- Identify guidelines for using assertions.
- Identify the command-line statements for compiling classes with assertions.
- Match the switches for enabling and disabling assertions with their functions at run time.
- Identify the code to ensure that assertions are enabled.
Unit 2: Threads and Multithreading
- Identify the benefits of threads in Java.
- Match the methods of the Thread class with their functions.
- Identify the code for creating a thread by extending the Thread class.
- Complete the code used to create a thread by implementing the Runnable interface.
- Identify the code for writing a multithreaded program.
- Identify the code for manipulating the priority of a thread.
- Identify the code for synchronizing the threads in a multithreaded program by using the synchronized keyword.
- Identify the steps performed during the creation of a Java program that uses interthread communication.
Duration
4 Hours
Minimum Requirements
The CDROM version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
- At least a double speed CDROM drive.
- An MPC compliant sound card with attached speakers or headphones is recommended (Currently only the CDROM version supports audio).
The network version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM and 22MB available hard disk space or file server space.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
Media
CDROM
Serebra Learning Corporation 119 - 7565 132nd Street Surrey BC V3W 1K5 Canada