Java Programming
Course
In Worcester
Description
-
Type
Course
-
Location
Worcester
-
Duration
5 Days
The course will teach the delegate to implement well-structured Java applications & applets, exploiting the power of Java's object oriented features. Suitable for: Any programmer who needs to develop or maintain Java code. OO designers designing for the Java platform who want to understand Java better.
Facilities
Location
Start date
Start date
Reviews
Course programme
THE COURSE
The course will teach the delegate to implement well-structured Java applications & applets, exploiting the power of Java's object oriented features.
WHO SHOULD ATTEND
Any programmer who needs to develop or maintain Java code. OO designers designing for the Java platform who want to understand Java better.
PRE-REQUISITES
The course assumes no prior knowledge of Java. However it would be useful if the delegate has some programming experience or understanding of object oriented concepts (eg from Quanta's OO Analysis & Design with UML course).
COURSE TOPICS
INTRODUCTION TO JAVA
What is Java?
Java Programming Language Goals
Java Development Tools
JAVA LANGUAGE BASICS
The Basics
Statements, Expressions and Blocks
Comments
Declaring and Using Variables
Identifiers
Reserved Words
Primitive Data Types
Type Conversions (casting)
Mathematical Operators
Assignment Operators
Wrapper Classes
JAVA FLOW CONTROL
Introducing Java Flow Control
Comparison Operators
Boolean Operators
The if Statement
The Conditional Operator
The switch Statement
The while Statement
The do while Statement
The for Loop
The break and continue statements
Assertions
JAVA CLASSES AND OBJECTS
Object Oriented Aspects
Classes and Instances
Defining Java Classes
Creating Instances of Objects
Writing Methods
Static (Class) Methods
The main () Method
Constructors
Destroying Objects
JAVA STRINGS AND ARRAYS
What Are Strings and Arrays
Java Strings
Java Arrays
INHERITANCE AND POLYMORPHISM
What is an Inheritance?
Extending A Class
Substitutability and Casting
Polymorphism and Dynamic Binding
Overriding Inherited Methods
Chaining Superclass Constructors
Reflection
JAVA PACKAGES
What are Java Packages?
Creating Packages
Class Files and CLASSPATH
ABSTRACT CLASSES AND INTERFACES
What is an Abstract Class?
Abstract Methods
Subclassing Abstract Classes
Interfaces
Implementing an Interface
Marker Interfaces
Sub-interfaces and Super-interfaces
THE COLLECTIONS API
What are Collections?
Working with Lists
Working with Sets
Working with the Collection Interface
Working with Maps
Sorting Collections
Collection Methods NESTED AND INNER CLASSES
Introduction
Nested/Member Classes (non-static)
Local Classes
Anonymous Classes
ERRORS AND EXCEPTIONS
Error Handling Under Java
The Throwable Hierarchy
Handling an Exception
Enforced Handling of Checked Exceptions
Defining New Exception Classes
Throwing an Exception
Exceptions and Method Overriding
THREADS
Introduction to Multi-Threading
The Thread Lifecycle
Creating a Thread
Daemon Threads
Controlling a Thread
Thread Priorities
Avoiding Corruption
Coordinating Threads
Interrupts
Timers & Timer Tasks
JAVA DATABASE CONNECTIVITY
What is JDBC?
Database Drivers
Overview of a JDBC Application
Obtaining a Database Connection
Retrieving Data Using JDBC
Closing the Connection
Parameterised Statements
Modifying The Database
Transaction Management
APPLETS
Introduction to Java Applets
Applet Security
Creating an Applet
Applet Lifecycle Methods
Other Useful Methods
Using Threads in Applets
HTML for Applets
GRAPHICS AND ANIMATION
Introduction Graphics and Graphics2D
The Graphics Class
Text
Colour
Drawing Graphics
Animation
BUILDING GUIS WITH SWING
Introduction to Java User Interfaces
Visual Components - GUI Building Blocks
Layout Managers
Responding to User Input
Java Programming