|
Classes :: class description :
Java Programming
Overview
This Java course is designed for developers experienced
in C and C++ programming An intensive, hands-on course designed
to cover all the fundamentals of Java 1.0, 1.1 and 1.2 programming.
This course can be custom configured for any level of programming
experience from the Basic novice to the C++ Pro.
Prerequisites
Students must be familiar with C, C++ Programming.
Outline
INTRODUCTION TO JAVA PROGRAMMING
Advantages of Java
- Platform independence
- Reusability and maintainability through object
orientation
- Applications, applets and servlets
Structure of a Java program
- Compiling source code into bytecode
- Overview of class libraries
OBJECT-ORIENTED PROGRAMMING WITH JAVA
The object paradigm
- Object-oriented (OO) programming
- Encapsulation, inheritance and polymorphism
- OO analysis and design: "Is a" and
"Has a" relationships
- Designing an OO application step by
step
- Diagramming object structure with
Unified Modeling Language (UML)
Java's object-oriented features
- Instantiating objects from classes
- Aggregation and composition
- Extending existing classes
- Overloading and overriding methods
STRUCTURE OF THE JAVA LANGUAGE
Language syntax
- Declaring and initializing variables
- Statements and expressions
- Declaring and using arrays
- Upcasting and downcasting
Flow control
- Invoking methods and passing parameters
- Conditionals and loops
- Handling exceptions with try
and catch
Defining classes
- Fields (instance data)
- Methods (functions)
- Abstract classes and interfaces
- Organizing classes with packages and visibility
modifiers
- Composition vs. inheritance
Building the components of a Java program
- Working with existing classes
- Extending base classes
- Developing new classes
- Compiling and debugging
DEVELOPING GUIs
Foundations of user interfaces
- Basic GUI widgets
- Event-driven programming
- Modal vs. non-modal interaction
Abstract Windowing Toolkit (AWT)
- The need for a portable windowing library
- Adding components to containers
- Arranging components using layout
managers
Java Foundation Classes (JFC)
- Advantages of lightweight components
- Creating basic components: buttons, text fields,
drop-down lists
- Dialogs and message boxes
Event handling
- Adapters and listeners
- Registering event handlers
- Inner classes and top-level classes
Building applets
- Embedding applets in Web pages
- The applet security model
- The applet life cycle: init(), start(),
stop(), destroy()
- Deploying browser-independent
applets with Java Plug-In
INPUT AND OUTPUT
Java streams
- Streams, Readers and Writers
- Accessing files
Files and directories
- Creating, deleting and renaming files
- Obtaining directory and file
information
JAVA DEVELOPMENT TOOLS
- Java Development Kit (JDK)
- Compiler
- Appletviewer
|