Java Language  «Prev  Next»

Lesson 2Java Language Prerequisites
Objective Make sure you have the necessary background for this course.

Java Language Prerequisites

In order to get the most out of this course, you should have a basic understanding of the Java programming language, as well as familiarity with Java language constructs such as
  1. data types,
  2. classes,
  3. branches, and
  4. loops.

You should also be comfortable developing and compiling simple Java applets and applications. A basic knowledge of object-oriented programming is assumed since Java is an object-oriented programming language. Unless you have a suitable third-party Java development environment with a graphical user interface, you will need to know how to run command-line applications, since the tools in the Java 2 Software Development Kit (SDK) Standard Edition are all command-line tools.
You will also need to understand how to embed applets in Web pages using the <APPLET> tag. You do not have to be an HTML whiz, but it is important to understand how Java applets fit into Web pages. It is not necessary for you to have completed the first course in this series provided that you meet these prerequisites.
This course covers fundamentals of Java programming and does not address material that is specific to the Java 2 platform.


An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life. This lesson explains how state and behavior are represented within an object, introduces the concept of data encapsulation, and explains the benefits of designing your software in this manner.


A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavior.


Inheritance provides a powerful and natural mechanism for organizing and structuring your software. This section explains how classes inherit state and behavior from their superclasses, and explains how to derive one class from another using the simple syntax provided by the Java programming language.