Java Programming
Revision: TE2402_20080501
(7.65 KB) View, Download, or Print Catalog as a PDF.
Course Length:
5 Days
Course Description:
Java is a complete programming language which can be used to write applets that enhance existing Web pages, or embedded Web based applications. Through lecture and hands on labs, this course introduces students to all aspects of this high level programming language.
Who Should Attend:
This course is designed for applications programmers and designers planning to develop applications running in Java enabled Browsers or as standalone executables
Benefits of Attendance:
Upon completion of this course, students will be able to:
- Compile and run a Java application.
- Understand the role of the Java Virtual Machine in achieving platform independence.
- Navigate through the API docs.
- Use the Object Oriented paradigm in Java programs.
- Understand the division of classes into Java packages.
- Use Exceptions to handle run time errors.
- Select the proper I/O class among those provided by the JDK.
- Use threads in order to create more efficient Java programs.
Prerequisites:
Students should have programmed in at least one programming language - preferably C or C++. Some familiarity with Object Oriented Programming is desired but not required.
Course Outline:
- Chapter 1: Introduction
- What is Java?
- History
- Versioning
- The Java Virtual Machine
- Writing a Java Program
- Packages
- Simple Java Programs
- Chapter 2: Language Components
- Primitive Data Types
- Comments
- The for Statement
- The if Statement
- The while and do while Statements
- The switch Statement
- The break Statement
- The continue Statement
- Operators
- Casts and Conversions
- Keywords
- Chapter 3: Object-Oriented Programming
- Defining New Data Types
- Constructors
- The String Class
- String Literals
- Documentation
- Packages
- The StringBuffer Class
- Naming Conventions
- The Date Class
- The import Statement
- Deprecation
- The StringTokenizer Class
- The DecimalFormat Class
- Chapter 4: Methods
- Introduction
- Method Signatures
- Arguments and Parameters
- Passing Objects to Methods
- Method Overloading
- Static Methods
- The Math Class
- The System Class
- Wrapper Classes
- Chapter 5: Arrays
- Introduction
- Processing Arrays
- Copying Arrays
- Passing Arrays to Methods
- Arrays of Objects
- The Arrays Class
- Command Line Arguments
- Multidimensional Arrays
- Chapter 6: Encapsulation
- Introduction
- Constructors
- The this Reference
- Data Hiding
- public and private Members
- Access Levels
- Composition
- Static Data Members
- Chapter 7: Inheritance & Polymorphism
- Introduction
- A Simple Example
- The Object Class
- Method Overriding
- Polymorphism
- Additional Inheritance Examples
- Other Inheritance Issues
- Chapter 8: Abstract Classes & Interfaces
- Introduction
- Abstract Classes
- Abstract Class Example
- Extending an Abstract Class
- Interfaces
- Chapter 9: Exceptions
- Introduction
- Exception Handling
- The Exception Hierarchy
- Checked Exceptions
- Advertising Exceptions with throws
- Developing Your Own Exception Classes
- The finally Block
- Chapter 10: Input and Output in Java
- Introduction
- The File Class
- I/O Classes
- Keyboard Input
- File Streams
- Data Streams
- Print Streams
- Reading and Writing Objects
- Readers and Writers
- Line Input
- Other Readers and Writers
- Random Access Files
- Chapter 11: Threads
- Threads vs. Processes
- Creating Threads by Extending Thread
- Creating Threads by Implementing Runnable
- Advantages of Using Threads
- Daemon Threads
- Thread States
- Thread Problems
- Synchronization
- Chapter 12: The Java Collections Classes
- Introduction
- Vectors
- Hashtables
- Enumerations
- Properties
- Collection Framework Hierarchy
- Lists
- Sets
- Maps
- The Collections Class
- Chapter 13: Networking in Java
- Networking Fundamentals
- The Client/Server Model
- InetAddress
- URLs
- Sockets
- Writing Servers
- Client/Server Example



