Author: Rabecca Fatima
-
PythonTypes of Inheritance in Python
Types of Inheritance depend upon the number of child and parent classes involved. There are four types of inheritance in…
December 12, 2022
-
C++Program to Reverse an Array
When an array is reversed, the elements of the original array are changed in order. With this method, the first…
December 12, 2022
-
C++Accessing Elements of 2-D Array
Accessing Elements of a 2-D Array: The most basic type of multidimensional array in C++ is a two-dimensional array. One…
December 13, 2022
-
PythonAccess Modifiers in Python
When implementing the concepts of inheritance in Python code, access specifiers or access modifiers are used to restrict the access…
December 13, 2022
-
PythonMethod Overriding in Python
Method overriding is a feature of any object-oriented programming language that allows a subclass or child class to implement a…
December 15, 2022
-
PythonPolymorphism in Python
What is Polymorphism? Polymorphism is derived from the Greek words poly (many) and morphism (change) (forms). That is, the same…
December 16, 2022
-
PythonStatic Keyword in Python
Class or Static Variables: In Python, a variable declared within a class but outside any method is referred to as…
December 17, 2022
-
PythonOperator Overloading in Python
Operator overloading refers to providing meaning that extends beyond their predefined operational meaning. For example, the operator + can be…
December 18, 2022
-
PythonErrors and Built-in Exceptions
A minor typing error can result in an error in any programming language as we must follow the syntax rules…
December 19, 2022
-
PythonPython Exception Handling – I
What is Python Exception Handling? Exception handling is a Python concept used to handle exceptions and errors during program execution….
December 21, 2022
-
PythonPython Exception Handling – II(Finally Keyword )
Finally Keyword Python has a finally keyword that is always executed after a try and except block. The finally block…
December 22, 2022
-
PythonPython Exception Handling – III(Raise Keyword )
In Python, the raise keyword is primarily used for exception handling. Exception handling is responsible for handling exceptions or errors…
December 23, 2022