Home > Java Training > Java Programming

Java Programming

Duration: 5 days Level: Basic

Who should attend | Prerequisites | Content | Sample Notes | Next Class | Printer Friendly Print this page

Class Summary

Java Programming is an intensive introduction to the principles of using this powerful language for software development. The class focuses on the development of effective applications.

The class consists of a mixture of lecture and hands on lab exercises.

Setup instructions for this class are available online - please e-mail for password information.

Who Should Attend

This class is suitable for experienced programmers intending to use Java for creating production applications, for deployment in the Internet area. The class is a foundation for all our Java classes.


Some programming skills are required; this class does not teach inherent programming concepts.


  • Introduction to Java : What is Java?, Java features, object orientation, Java application and applet structures, The Sun Java Developer Kit.

  • Basic Java Concepts: Java naming conventions, class definition, classes and packages, methods, code blocks, statements, variables, comments, compiling and running applications

  • Working with variables: Declaring variables, variable names, reserved words, primitive types, scope and lifetime, packages and access modifiers, initialising primitives, literals, assignments, operators, conversions, strings, stringbuffers, arrays, array exceptions.

  • Flow Control: Overview, 'if / then / else' statements, nested statements, conditional operators, switch statements, while and do while, for, break and continue, exceptions and errors, handling an exception, user defined exceptions

  • Defining Classes 1: Overview, object relationships, inheritance, polymorphism, defining classes, object references, accessing object properties, defining and using object properties and methods, returning values, passing objects to methods

  • Defining Classes 2: Overloading methods, initialising instance variables, using constructors, sharing constructor code, class variables, class methods, static methods and variables, final methods and variables, garbage collection, inner classes

  • JDK Language Packages: JDK documentation, using java.lang, using java.util, using java.text, using, using java.applet, using java.awt/javax.swing, using java.sql/javax.sql, using

  • Java Documentation: Why use JavaDoc?, guidelines, documenting classes, documenting methods, displaying documented code, documentation tags, generating documentation

  • Code Reuse: inheritance example, defining inheritance, subclass and superclass methods, referencing superclass methods, polymorphism, using 'instanceof', the final keyword, abstract classes and methods, using interfaces

  • GUI Building: using AWT and SWING, basic principles, layout management overview, borderLayout, boxLayout, gridLayout, gridBagLayout, atomic components, text component types, factory classes, nested layouts

  • Event Handling: event registration, event handlers, implementing a listener, event registration code, using inner classes, using adapter classes

  • Creating Applets: overview, example applet, defining an applet, applets and parameters, applet screen painting, applet testing, loading an applet, creating a JAR file, using a JAR file

  • Java Streams: overview, streams I/O, summary of classes, simple console I/O, reading and writing text files, reading and writing data files, random access files, examining the local file system

  • Java Networking: basic networking principles, using, the class, sending e-mail, remote method invocation, creating distributed applications

  • Internationalisation: overview, using locales, currency and date formatting, character storage, Unicode files, using resource bundles

  • Java and Databases: Java Database Connectivity, JDBC principles, driver types, JDBC URL, executing queries, executing updates, Connection, Statement, ResultSet, PreparedStatement, dealing with nulls, CallableStatement, Database and Resultset metadata

Sample notes

Java Programming - Lesson 2

Suggested next class

Java and Databases (2 days)




 Search this site...
Web Hosting by Lunarpages

This page last updated on
October 6, 2010 9:12 AM