Home  
 
  Home FAQ My Account Forum Reward Program whatsNew

join newsletter group

Course
Register
Our Technology
Our Partner
 
Introduction to Java

Author: Alexandra Bolintineanu

Publish Date: 2002/02/01

Welcome to Introduction to Java. It is the entry-level course of a series of courses in the Java programming language. This course will help you develop a basic to intermediate level of proficiency in Java.

A few things to note before we start the course:

  1. Each lesson contains many examples of actual Java code. I encourage you to download the code and play with it. If you make small modifications to the code and then try to run it, you'll gain a better understanding of how it works (and how it doesn't).

  2. At the end of each lesson there will be a practice session. It might involve answering multiple choice questions or writing a small program. Try them; after all, practice makes perfect, and the best way to learn how to program is to write programs yourself. Note that I've provided solutions for every exercise. Make sure you try out these solutions after you've worked out your own; it's always useful to be aware of various approaches to a problem.

  3. Topic highlights :

    -- Getting Started in Java
    -- Data Types and their Operators
    -- Objects
    -- Anatomy of a Class
    -- Using Predefined Classes: String and Input/Output
    -- Conditional Statements and Loops
    -- Manipulating Numbers
    -- Applets: An Introduction
    -- Applets: Adding GUI Components
    -- Applets: Dealing with Events

Enjoy!

expand/collapse all sections
expand/collapsechapter   1   Getting Started in Java

  • Brief discussion of the Java programming language
  • Introducing the SDK, a simple Java programming environment
  • Running your very first Java program.

expand/collapsechapter   2   Data Types and their Operators

  • Representing simple information by way of Java's primitive data types.
  • Primitive types: int, double, char, boolean
  • Programs demonstrating operations on primitive types

expand/collapsechapter   3   Objects

  • Classes and objects
  • How objects interact

expand/collapsechapter   4   Anatomy of a Class

  • Instance variables
  • Method headers
  • Using methods

expand/collapsechapter   5   Using Predefined Classes: String and Input/Output

  • String class and methods
  • Input and Output: reading info from the keyboard, displaying info on screen

expand/collapsechapter   6   Conditional Statements and Loops

  • If-Statements
  • While Loops
  • For Loops

expand/collapsechapter   7   Manipulating Numbers

  • The Math class
  • The Random class
  • Programming Tips

expand/collapsechapter   8   Applets: An Introduction

  • Our first applet program
  • Formatting text in an applet

expand/collapsechapter   9   Applets: Adding GUI Components

  • Buttons, Labels, Data Entry Fields
  • Assembling the Graphical User Interface

expand/collapsechapter   10   Applets: Dealing with Events

  • Parts of an applet
  • Responding to events: the Listener

©2002 DOL Network Corporation

 
  Contact Us About Us Privacy Policy termsOfUse