Object-Oriented Programming

From NovaOrdis Knowledge Base
Revision as of 07:01, 26 February 2021 by Ovidiu (talk | contribs) (→‎Inheritance)
Jump to navigation Jump to search

Internal

Overview

Object-Oriented Programming vs Functional Programming

Object-Oriented Programming vs Functional Programming

Class

A class represents a type of thing and concept. Classes defines state - what kind of information, or attributes they can store. Classes also define behavior, or methods.

Objects

An object is a specific instance of a class.

Inheritance

The inheritance implies that there are classes that are very generic, and other classes that are specific. The specific classes can inherit specific attributes and behavior from generic classes, and they can also have specific attributes and behaviors that are particular to them, and to no one else.

Organizatorium

Object-oriented programming is first and foremost about message passing.