Skip to content

Tag Archives: Python-OOP

Overriding is an OOP’s (object-oriented programming) concept and generally we deal with this concept in Inheritance. Method overriding is an ability of any object-oriented programming… Read More
Prerequisite: Inheritance in Python Method overriding is an ability of any object-oriented programming language that allows a subclass or child class to provide a specific… Read More
We know that inheritance is one of the building blocks of Object-Oriented Programming concept. It is the capability of one class to derive or inherit… Read More
Inheritance is defined as the mechanism of inheriting the properties of the base class to the child class. Here we a going to see the… Read More
Prerequisites: Underscore ( _ ) in Python A Variable is an identifier that we assign to a memory location which is used to hold values in a computer program. Variables are… Read More
Inheritance is the mechanism to achieve the re-usability of code as one class(child class) can derive the properties of another class(parent class). It also provides… Read More
An Object is an instance of a Class. A class is like a blueprint while an instance is a copy of the class with actual… Read More
Prerequisites: Underscore (_) in Python, Private Variables in Python Various object-oriented languages like C++, Java, Python control access modifications which are used to restrict access… Read More
A class is a user-defined blueprint or prototype from which objects are created. Classes provide a means of bundling data and functionality together. Creating a… Read More
A class is a user-defined blueprint or prototype from which objects are created. Class can be considered as a user-defined data type. Generally, a class… Read More
Python is an Object oriented programming language i.e everything in Python is an object. There are special kind of methods in Python known as magic… Read More
Prerequisites – Python Class, Objects, Self Whenever object-oriented programming is done in Python, we mostly come across __init__ method in oops which we usually don’t… Read More
Encapsulation is one of the fundamental concepts in object-oriented programming (OOP) in Python. It describes the idea of wrapping data and the methods that work… Read More
Python break is used to terminate the execution of the loop.  Python break statement Syntax: Loop{ Condition: break } Python break statement break statement in… Read More
Python Continue Statement skips the execution of the program block from after the continue statement and forces the control to start the next iteration. Python… Read More

Start Your Coding Journey Now!