BrassHornet logo  

Is Your Schedule Tight?

Let us know your scheduling preferences, and we will do our best to accommodate you!

Java Fundamentals

Display a printer-friendly version.

Download a PDF version (readable by Adobe's Acrobat Reader).

About This Course

Java is more than a programming language. Java is a platform that includes an extensive library to simplify the creation of applications and applets. Java is designed specifically for to run on a network, including, of course, the Internet. This has made Java a favored solution for the web-based applications and e-commerce.

Java offers the advantages of object-oriented programming, a robust run-time that creates a secure platform, the ability to run on a variety of hardware and operating system platforms, and an extensive library of packages.

This course is designed to enable computer programmers to take advantage of the Java platform. In addition to covering the elements of the language, the course covers the object-oriented concepts that underlie the language and the network-oriented run-time.

Course Duration

Three days.

Who This Course Is For

This course is designed for the programmer who would like to broaden his/her skill-set into any (or all) of the following:

  • the Java platform
  • client-side web-based applications
  • the object-oriented programming paradigm

Prerequisites

Participants should already be established programmers who are comfortable with a high-level programming language (such as C++, C, Pascal, Fortran, Cobol, Python, or Perl). Note: HTML is a mark-up language and does not qualify as a programming language.

What Participants Will Learn

The basic elements of the language and the corresponding syntax are covered first, along with the basic tools used to create and execute a Java program. Then the object-oriented paradigm on which Java is based is developed. The course then explores the standard libraries (i.e., packages) that provide Java with a graphical user interface and which can be used for applications and applets.

After completing the course participants will be able to:

  • Organize Java programs from a development perspective
  • Effectively use the basic tool-set to develop Java programs
  • Develop Java classes, applets, and applications
  • Present a graphical user interface elements in applications and applets
  • Use layout managers to organize the graphical user interface
  • Write programs driven by graphical user interface events
  • Incorporate applets into web pages
  • Utilize the packages that form the Java API
  • Exploit the advantages of the object-oriented programming paradigm

Course Outline

  • Day 1
    1. Introduction
      1. History of Java
      2. Advantages Java Offers
      3. Online Java Resources
      4. First Example
      5. The Standard Java Tool-Set
    2. A Few Basics
      1. File Extensions
      2. Identifiers
      3. Comments
      4. Java Applications
      5. Java Applets
    3. Types and Operators
      1. Numeric Types, Literals, and Operators
      2. Accessing Mathematical Functions
      3. Boolean Type, Literals, and Operators
      4. Character Type, Literals, and Operators
      5. String Type, Literals, and Operators
      6. Operator Precedence
    4. Flow of Control
      1. The if/else Statement
      2. The switch Statement
      3. The Conditional Operator
      4. The for Loop
      5. The while Loop
      6. The do-while Loop
      7. The break and continue Statements
      8. Nesting and Naming Loops
    5. Arrays
      1. Declaring Arrays
      2. Allocating Arrays
      3. Initializing Arrays
      4. Arrays of Multiple Dimensions
      5. Array Assignment, Copying, and Cloning
  • Day 2
    1. Object-Oriented Programming
      1. The Structure of a Class
      2. The Instance
      3. Variables and Methods
      4. Scoping Issues
      5. Default Values of Variables
      6. The Uses of this
      7. Constructors
      8. Class Self-Reference
      9. Relationships between Classes
    2. Inheritance
      1. The Role of Inheritance
      2. Vocabulary of Inheritance
      3. Single and Multiple Inheritance
      4. Class Composition v. Class Inheritance
      5. The Uses of super
    3. Packages and Access Attributes
      1. The Package Hierarchy
      2. Standard Packages
      3. Using Packages
      4. Creating Packages
      5. Access Attributes
    4. Exploring Applets
      1. The Applet Class
      2. Drawing in an Applet
      3. Referencing Applets from HTML
      4. Passing Data to Applets
  • Day 3
    1. Graphical User Interface Components
      1. Components and Containers
      2. Declaring, Creating, and Placing Components
      3. Buttons
      4. Labels
      5. TextFields and TextAreas
      6. Checkboxes and CheckboxGroups
    2. Layout Managers
      1. The Power of Layout Managers
      2. Using a Layout Manager
      3. Nesting Containers
      4. FlowLayout
      5. GridLayout
      6. BorderLayout
      7. GridBagLayout
    3. Graphical User Interface Events
      1. Events
      2. Listeners
      3. Writing a Listener
      4. Using a Listener
      5. High- and Low-Level Events
      6. Event Class Hierarchy
      7. Listener Class Hierarchy
    4. Graphics Based Applications
      1. Comparing Applications and Applets
      2. The Frame
      3. Dialog Boxes
      4. MenuBars, Menus, and MenuItems
      5. Hierarchical Menus

Hands-On Workshops

Roughly 50% of the time is spent with hands-on workshops. Numerous Java applets and applications are written and improved throughout the course. At the course's conclusion participants will have written both applets and applications offering users a graphical user interface, responding to multiple types of events, and using the object-oriented programming paradigm.

Materials Provided

Each participant receives:

  • A comprehensive course textbook/workbook
  • Solutions to all exercises
  • A CD-ROM containing examples, exercise solutions, and other items as allowed by license
  • A certificate of completion

Pricing

On-Site Training

For on-site training the price is $3145 plus $120 per participant plus actual instructor travel expenses. Please contact us to make arrangements.

Third-Party Site Training

The price is the same as for on-site training, except there will be additional costs to rent the venue and perhaps equipment costs as well.

Public Class Training

For participants in our pre-scheduled, public training, the price is $1080 per person. Price includes lunch.

View a list of our public class training locations or learn more about our customizable on-site training. Please contact us if you would like any additional information.