Java for C++ Programmers

By focusing on the differences between Java and C++, the student can learn Java quickly and effectively.

Overview

Java is becoming more and more popular as a serious application development tool.  Java is object-oriented, is very similar to C++ syntactically, but is much easier to learn and use than C++.  One of the biggest advantages to Java is portability.  Graphical User Interface? No problem! With the Application Window Toolkit, you can develop cool interfaces that run on many platforms.  Java can be used to develop applets that run in a web browser, or stand-alone applications.  This course introduces Java to the student with a background in C++ programming.  By focusing on the differences between Java and C++, the student can learn Java quickly and effectively.

Audience

This class is for people with significant programming experience with C++

Length

40 hours

Outline

Overview of Java

  • Purpose of Java
  • Origin of Java
  • Components of Java
  • Language Overview

Java Programming

  • A Java application
  • Naming rules
  • Compiling
  • Running
  • Dissection of the application

Java Syntax

  • Java Syntax
  • Variables
  • Types and Casting
  • Operators
  • Flow Control

Introduction to Java Classes

  • Java class
  • Java objects

Advanced Classes

  • Method overloading
  • Class members
  • Constants
  • Access control

References

  • What is a reference?
  • Creating Objects
  • Aggregation
  • Pass by reference
  • Garbage collection
  • Arrays

Initialization

  • Constructors
  • Overloaded constructors
  • Static initialization
  • Finalizer

Inheritance & Polymorphism

  • Inheritance
  • Polymorphism
  • Interfaces
  • Super
  • Final

Packages

  • Building packages
  • Java library

Introduction to Exceptions

  • Overview of exceptions
  • Throwing an exception
  • Catching an exception
  • Exception classes

Graphics

  • Device Context
  • Animations

Multithreading

  • Starting a thread
  • Synchronization

Abstract Window Toolkit

  • Panels
  • Buttons
  • Text Areas
  • Layout policies
  • Frames
  • Menus

File I/O

TCP/IP Client Server Applications

Stand-Alone Java Applications

Java Applets

JDBC™

JavaBeans