Specifications

Sun Services
Java™ Programming Language
Module 2, slide 7 of 26
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Classes as Blueprints for Objects
In manufacturing, a blueprint describes a device from
which many physical devices are constructed.
In software, a class is a description of an object:
A class describes the data that each object includes.
A class describes the behaviors that each object
exhibits.
In Java technology, classes support three key features
of object-oriented programming (OOP):
Encapsulation
Inheritance
Polymorphism