Computing - Object Oriented Programming

2020-12-08
1 min read
What is a class??

A blueprint or template for a type of object.

What are the data of an object called??

Attributes.

What are the operations that you can perform on object called??

Methods.

What is instantiation??

Creating an object from a class.

What is the concept of encapsulation??

Attributes and methods are wrapped into a single entity.

What is inheritance??

Where subclasses use attributes and methods of it’s superclass.

What is the Python syntax for initialising the superclass??
super().__init__(params...)

2021-11-08

What is a “record” pretty similar too??

A class.


Metadata
date: 2020-12-08 10:06
tags:
- '@?computing'
- '@?public'
title: Computing - Object Oriented Programming