What is object-oriented programming?
Programming built around objects and their interactions
Define classes
A class is the set of instructions that describe how an object can behave and what information it contains
A class is a blueprint for an object
Classes are nouns
Define an instance
Instances are objects that are based on classes.
Synonymous with instance variable, object or member
Objects are adjectives
Why do we use to constructor method?
To provide initial values to the instance variables
Define a method
A method is a behavior of an object inside of a class
methods are verbs