Skip to content

Tag Archives: Python-OOP

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 ends the iteration from loops and start to continue the next iteration. Python Continue Statement Python Continue statement is a loop control… Read More
There can be some functionality that relates to the class, but does not require any instance(s) to do some work, static methods can be used… Read More

Start Your Coding Journey Now!