Tag: Object oriented
-
JavaOOPs in Java
What is OOPs? Object-Oriented Programming is a methodology or paradigm for designing a program using classes and objects. Many concepts, such…
May 11, 2022
-
JavaString class methods in Java
Many useful methods for performing operations on a sequence of char values are available in the java.lang.String class. No. Method…
June 11, 2022
-
JavaSerialization and Deserialization in Java
An object’s state can be transformed into a byte stream through a process known as serialization. Deserialization is the opposite…
July 16, 2022
-
C++OOPs Concepts in C++
Object-oriented programming (OOPs) is a programming approach or pattern in which programs are structured around objects rather than functions and…
September 20, 2022
-
C++Classes and Objects in C++
The fundamental idea that the object-oriented approach revolves around in C++ is the concept of classes and objects. It increases…
October 4, 2022
-
C++Constructors and Destructors in C++
Constructor: A constructor is a special member function of a class and shares the same name as of class, which…
October 13, 2022
-
C++Types of Inheritance in C++
There are 5 types of Inheritance in C++: Single inheritance Multiple inheritance Hierarchical inheritance Multilevel inheritance Hybrid inheritance Single Inheritance:…
October 23, 2022
-
C++Order of Constructor Call in C++
If we inherit a class from another class and create an object of the derived class, it is obvious that…
October 23, 2022
-
C++Upcasting in C++
Upcasting is the process of creating the derived class’s pointer or reference from the base class’s pointer or reference. It…
October 26, 2022
-
C++Method Overriding(Polymorphism)
What is Polymorphism? The term “polymorphism” refers to having multiple forms. Polymorphism is defined as the ability of a message…
October 26, 2022
-
C++Virtual Functions in C++
A virtual function is a member function declared in a base class that is re-defined (overridden) by a derived class….
October 26, 2022
-
C++Virtual Destructors in C++
What is a Virtual Destructor? Deleting a derived class object with a non-virtual destructor using a pointer of the base…
October 28, 2022