1 / 9

Python Class | Python Programming | Python Tutorial | Edureka

( Python Training : https://www.edureka.co/python )<br>This Edureka Python Class tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) will help you understand Python Classes and Objects with examples. It will also explain the concept of Abstract Classes and Inheritance in python. <br><br>Check out our Python Training Playlist: https://goo.gl/Na1p9G<br><br>This Python Programming tutorial video helps you to learn following topics:<br><br>1. Python Classes and Objects<br>2. Inheritance<br>3. Abstract Classes

EdurekaIN
Download Presentation

Python Class | Python Programming | Python Tutorial | Edureka

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EDUREKA DEVOPS CERTIFICATION TRAINING Python Classes www.edureka.co/devops

  2. Agenda 1 Classes and Objects 2 Classes in Python 3 Inheritance 4 Abstract Class EDUREKA DEVOPS CERTIFICATION TRAINING www.edureka.co/devops

  3. Classes and Objects Sarah 37 10000 Object1 Employee Neel 43 21000 Objects Class Object2 Name Age Salary Jessica 26 24000 Object3 EDUREKA DEVOPS CERTIFICATION TRAINING www.edureka.co/devops

  4. Classes in Python ❑ A class is the blueprint from which specific objects are created. Class Syntax: Instance Variable Class Variable Data Member A variable that is shared by all instances of a class. instance variable unique to each instance A class variable or instance variable that holds data associated with a class and its objects. EDUREKA DEVOPS CERTIFICATION TRAINING www.edureka.co/devops

  5. Class Inheritance ❑ A class can inherit attributes and behavior methods from another class, called the superclass. ❑ A class which inherits from a superclass is called a subclass, also called heir class or child class. Vehicle Superclass Trucks cars Bikes Baseclass Baseclass Baseclass Medium Vans Pick-up Pedal Heavy Convertible Sports Motor Derivedclass Derivedclass EDUREKA DEVOPS CERTIFICATION TRAINING www.edureka.co/devops

  6. Abstract Class ❑ Abstract Class cannot be instantiated. ❑ It can only be inherited. Object of Abstract Class Abstract Class Inherit Abstract Class Object of Class1 Class1 EDUREKA DEVOPS CERTIFICATION TRAINING www.edureka.co/devops

  7. Session In A Minute Classes in Python Classes and Objects Inheritance Abstract Class EDUREKA DEVOPS CERTIFICATION TRAINING www.edureka.co/devops

  8. Thank You EDUREKA DEVOPS CERTIFICATION TRAINING www.edureka.co/devops

More Related