Objects, classes and more

New Terminology - Actually much of this is review

class
A class is a blueprint or prototype from which objects are created. A set of objects.
object
An instance of a class.
member
Attributes or methods that belong to the class or object. They are directly contained within the class block.
attributes
Global variables that are the characteristics of the class.
methods
Behaviors or actions of the class.
state
The specific values of an object. (It's attribute values.)
visibility
Applied to class members, visibility defines the public scope of the member (public or private).
encapsulation
The combining of attributes and behaviors into a single package that protect that class of objects and their data.
instantiation
The act of creating a new object from a class.
qualified name
A member name that is "qualified" by an object name or a class name.
accessor methods
Methods which access data within an object but do not change the object's state.
mutator methods
Methods which access data within an object and change the state of one or more attributes.

Java Specific Terms

private
The class member is visible only to its own class methods.
public
The class member is visible to any class's methods that chooses to use it.
this
A java reserved word which refers to the calling object.

Class notes

  1. Loop homework (pair, share)
  2. Testing - what would a test plan for PA2 should look like.
  3. What is a class? ObjectIntro.ppt
  4. And how can we refer to object methods?