OOP

  • a method for organizing modular programs

  • each object has its own local state

Objects

  • combine data values with behavior

  • represent information and behave as the things they represent

  • Instances can be constructed by calling the class on arguments that characterize the instance

Class

  • a term for its instances

  • every object is an instance of some particular class

  • class definition - specifies the attributes and methods shared among objects of that class

Interface

  • describe how you can interact with an object without necessarily implementing it

Last updated