Object-oriented programming

From CS 61A Wiki
Revision as of 15:20, 6 July 2014 by Axis (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to: navigation, search

Object-oriented programming (OOP) is the idea of ...

Motivation

Terminology

Syntax

to override method for the class: A.method = lambda self: "test" to override method for an instance: inst.method = lambda: "test"

Inheritance

Main article: Inheritance