Java: the core language

10/15/99


Click here to start


Table of Contents

Java: the core language

References

white paper buzzwords (Gosling et al)

Core language

The type model: primitive types and classes

Classes

Class encapsulates data and code

Contrast with Ada

OO terminology

Using a class

Is everything an object?

Classes are not enough

Predefined packages

Java is a high-level language

Can you program without pointers?

Value/Reference semantics

Value/reference choices

Arrays and Strings

Multidimensional arrays and aggregates

Strings

Strings are constants

Inheritance

Polymorphism

Dynamic Dispatching

The power of polymorphism

The mother of all classes

Mixing classes and primitive types

Wrapper classes

Class Object and generic programming

A large built-in collection of classes

Superclasses and subclasses

Interfaces

Implementing an interface

Event-Driven programming

Event-Handling

A listener

white paper buzzwords (Gosling et al)

Author: ed schonberg