Skip to main content

Definition

  • Class -> Person
    • Blueprint
    • Template
    • General form
    • Definition
    • Type of an object
  • Object —> ani, budi, chandra
    • Instance of class
    • Has states
    • Specific

Object-Oriented Programming (OOP)

  • object: collection of data that provides a set of methods
  • object-oriented: a way of organizing code and data into objects, rather than independent methods.