What you'll learn?

·          Describe the Java Runtime Environment (JRE).

·          Use Java variables, control statements, methods and arrays.

·          Discuss object-oriented theory, including abstraction, encapsulation, inheritance and polymorphism.

·          Describe method overloading and overriding.

·          Use Java static and instance members.

·          Create Java constructors.

·          Identify the differences between instance and class members.

·          Use Java abstract classes and interfaces.

·          Use Java Strings and StringBuffers.

·          Describe Java packages and accessibility.

·          Use the Java Abstract Windowing Toolkit (AWT) and Swing components central to SDK 1.2.

·          Use the SDK 1.2.x event delegation model.

·          Define applets and the applet life cycle.

·          Throw exceptions.

·          Create threads.

·          Use streams.

·          Create network applications in Java.

Description

The Java Programming Fundamentals course teaches you how to write Java applications and applets. You will learn the Java language mechanics found in other programming languages, such as variables, iterations, control statements, methods and arrays. You will also discuss object-oriented theory as it relates to Java. You will create Graphical User Interfaces (GUIs) for applications and applets, emphasizing components, layouts, and graphics. The course concludes with an in-depth study and implementation of the SDK 1.2 event delegation model, an essential element in further Java studies. You will also complete a course-long project to create an operational client/server messaging system.

Audience :

Database developers, Internet application developers, database architects, middleware programmers, database administrators, Java developers, and client/server developers.

Topics :

Java Runtime Environment

o  The Java Virtual Machine

o  The Java 2 Software Development Kit

o  Java Comments

o  Review Questions

Data Types, Variables and Operators

o  Data Types

o  Declaring Variables

o  Variable Scope

o  Casting

o  Operators

o  Automatic Casting

o  Review Questions

Control Statements

o  Code Blocks

o  Conditional Statements

o  Iteration Statements (Loops)

o  Review Questions

Methods

o  Java Methods

o  Return Statement

o  Calling a Method

o  Parameters

o  Pass by Value

o  Overloading

o  Review Questions

Arrays

o  What Is an Array?

o  Initializing an Array

o  Objects

o  Using an Array

o  Passing an Array to a Method

o  Garbage Collection

o  Command Line Parameters

o  Review Questions

Classes and Objects

o  Object-Oriented Programming

o  What Is a Class?

o  What Is an Object?

o  Instance and Class Members

o  Abstraction

o  Object References

o  Review Questions

Inheritance     

o  What Is Inheritance?

o  Overriding Methods

o  Overriding Methods and Variables

o  Review Questions

Constructors

o  What Is a Constructor?

o  Using Constructors

o  The Keyword this

o  Constructor Process

o  Constructors and Callbacks

o  Strings and StringBuffer

o  Review Questions

Interfaces and Abstract Classes

o  What Is an Interface?

o  Polymorphism

o  What Is an Abstract Class?

o  Review Questions

Packages and Access Modifiers

o  Introduction to Packages and Access Modifiers

o  Packages

o  Access Modifiers

o  Java 2 Application Programming Interface

o  Encapsulation

o  Review Questions

Swing Components

o  What Is the AWT?

o  What Is Swing?

o  Swing Containers

o  JavaBeans

o  Review Questions

Layout Managers

o  What Is a Layout Manager?

o  FlowLayout

o  GridLayout

o  BorderLayout

o  BoxLayout

o  Combining Layouts

o  Review Questions

Graphics

o  Graphics Class

o  Color Class

o  Font Class

o  Review Questions

The Delegation Model

o  What Is an Event?

o  JDK 1.0 Event Handling

o  SDK 1.2 Event Handling

o  Review Questions

Inner Classes

o  What Is an Inner Class?

o  Inner Classes for Event Handling

o  Review Questions

Applets

o  Programming Applets

o  Applets and Web Browsers

o  Converting an Application into an Applet

o  Converting an Applet into an Application

o  Review Questions

Exceptions

o  What Is an Exception?

o  Handling Exceptions

o  Creating User-Defined Exceptions

o  Exception Handling Tips

o  Exceptions and Inheritance

o  Review Questions

Creating Threads and Thread Methods

o  What Are Threads?

o  How Operating Systems Handle Multitasking

o  Types of Threads in Java

o  Creating Threads

o  Thread Methods

o  Review Questions

Synchronization

o  What Is Thread Synchronization?

o  Thread Racing

o  Synchronized and the Object Monitor

o  Thread Race Condition

o  Sophisticated Thread Synchronization

o  Stopping, Suspending and Resuming Threads

o  Deadlocks

o  Review Questions

Streams and Serialization

o  What Is a Stream?

o  InputStream, OutputStream, Reader and Writer

o  Files

o  Stream Classes of java.io.*

o  Serialization

o  Graduating Task: Building a simple word processor

o  Review Questions

Networking

o  What Is Networking?

o  Connecting Computers Across the Internet

o  Networking Classes of java.net.*

o  The Java Client/Server Model

o  Building the EchoServer

o  Multithreading Your Client/Server Example

o  Final Project: Building a client/server chat system

o  Review Questions

Prerequisities :

Recommended Knowledge :

Students must have a basic knowledge of programming fundamentals before taking this course.

Recommended Course(s) :

Category :

  • Programming

Training Materials :

CIW Official Curriculum

Labs :

This course includes several labs to ensure you will gain the targeted skills and experience.

Credential :

This course is a credit towards the CIW Web Developer certification

Related Courses