257x Filetype PDF File size 0.43 MB Source: www.isical.ac.in
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 Aclass contains: Data members known as attributes of the class Member functions known as methods of the class An object is an instance of a class Outline Object-oriented Programming (OOP) Features of OOP Class and Object Classes are the building blocks in OOP Aclass is like a template that describes the behaviors/states that objects of its type support. It can be considered as a user-deļ¬ned entity that can combine data and functionality together. Malay Bhattacharyya Computing Laboratory
no reviews yet
Please Login to review.