© 2023 Hashnode
#inheritance
Basics of OOPs Welcome to the first post in our C++ OOPs tutorial series! In this post, we will be discussing the concepts of classes and objects in C++. If you are already familiar with the basics of C language, you will find that classes …
In Java, the parent class object must be initialized before the child class object because the child class object inherits the properties and methods of the parent class, and the child class object ca…
Object Oriented programming is a high-level programming model different from procedural programming. This model focuses on data and object rather than function and logic. To work with OOP, developers …
Inheritance is a mechanism in object-oriented programming (OOP) that allows a new class to inherit the properties and methods of an existing class. The existing class is known as the parent class, or …
Introduction: Now, this is a topic many people ignore but not me😎. I am going to discuss all of the important things related to Javascript prototypes and try to make things as simple as possible. For…
Introduction to Object-Oriented Programming in JavaScript Welcome to the world of object-oriented programming (OOP)! OOP is a way of writing code that's organized, reusable, and easy to understand. It…
Yes, you can, and you just need an additional line of code in the Abstract Class. Let's take a look at how we can do so. Context If you have an abstract class with various subclasses, and you need to …
In the previous blog, I wrote about Object Oriented Programming and its pillars. In this blog let's deep dive into one of the pillars of Object Oriented Programming called Inheritance. What is Inherit…
It is very similar to the topic of inheritance which you have learned in high school. Like children inherit some features or characteristics from their parents, So the same concept applies in the case of inheritance in java as well. Advanta…
Introduction : Inheritance is the most important feature of object-oriented programming. It is used to decouple the code, reduce the dependency, and increase the re-usability of existing code. Solidit…