Mark As Completed Discussion

What is Object-Oriented Programming?

Object-Oriented Programming is a programming paradigm (think of it as a methodology/writing style) in which you think of everything as real-life objects.

What does an object in real life look like? Think about what you have in front of you right now. You are scrolling through this lesson with a mouse. You are looking at a monitor. You are typing on the keyboard. All of these things are objects. What do they "have"?

  1. Monitor:
    1. A width and height.
    2. A display that can show images/videos to you.
  2. Mouse and Keyboard:
    1. Buttons with names or numbers.
    2. A signal which is sent to the computer when you press a button.

What is Object-Oriented Programming