Computing Laboratory - Object-oriented Programming with …

Outline

Object-oriented Programming (OOP)

Features of OOP

Computing Laboratory

Object-oriented Programming with Python

Malay Bhattacharyya

Assistant Professor

Machine Intelligence Unit

Indian Statistical Institute, Kolkata

January, 2021

Malay Bhattacharyya

Computing Laboratory

Outline

Object-oriented Programming (OOP)

Features of OOP

1 Object-oriented Programming (OOP)

2 Features of OOP

Classes and Objects

Encapsulation

Constructor

Polymorphism

Inheritance

Special features

Malay Bhattacharyya

Computing Laboratory

Outline

Object-oriented Programming (OOP)

Features of OOP

Object-oriented Programming (OOP)

Objects are the basic runtime entities in an object-oriented system.

Objects encapsulate data and method.

Malay Bhattacharyya

Computing Laboratory

Outline

Object-oriented Programming (OOP)

Features of OOP

Class and Object

Classes are the building blocks in OOP

A class is like a template that describes the behaviors/states that

objects of its type support. It can be considered as a user-defined

entity that can combine data and functionality together.

Malay Bhattacharyya

Computing Laboratory

Outline

Object-oriented Programming (OOP)

Features of OOP

Class and Object

Classes are the building blocks in OOP

A class is like a template that describes the behaviors/states that

objects of its type support. It can be considered as a user-defined

entity that can combine data and functionality together.

A class contains:

Data members known as attributes of the class

Member functions known as methods of the class

Malay Bhattacharyya

Computing Laboratory

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download