Specifications

Sun Services
Java™ Programming Language
Module 2, slide 24 of 26
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Terminology Recap
Class – The source-code blueprint for a run-time object
Object – An instance of a class;
also known as instance
Attribute – A data element of an object;
also known as data member, instance variable, and data
field
Method – A behavioral element of an object;
also known as algorithm, function, and procedure
Constructor – A method-like construct used to initialize
a new object
Package – A grouping of classes and sub-packages