object oriented programing - focused on creating objects
object - entity that contains data and procedures
encapsulation - combining data and code into a single object
data hiding - objects data atrributeds are hidden from code outside the object
object resuability - the smae object can be used in different programs
class - a user defined prototype for an object that defines a set of attributes that
characterize any object of the class
class variable - a variable that is shared by all instances of a class defined iwthin a class
but outside of any of the clesses methods
instance variable - a variable that is defined inside a method and belogns only to the
churrent instance of a class
instance - an object created from a class
class definition - set of statmenets that deine a classes method and data attributes
self parameter - requried in every method oin the class, references the specific object
that the method is owrking on
uml diagram - standard diagrams for grahpically depicting object oriented systems
stands for unigied modeling language
atrrubute - describes one peice of ingformation about each instance of the class
indenitfier or key - One attribute uniquely identifies an instance f the calss, required for
data entities optional for domain classes customer id identifies a customer
class responsibilities - o The things the class is responisbile for knowing
o Identifying these helps identify the classes data attributes
o The acctions that class is responsible for doing
o Identifying these helps identiy the class methods
- To find out a classes rapsonsibilties
initializer method - automatically executed when an instance of the class is created
generlization/specilization - • A hierarchical relationship where subordinate classes are
special types of the superior classes. Often called an Inheritance Hierarchy