abstraction

Pure Virtual Functions and Abstract Classes

What are Pure Virtual Functions? A pure virtual function is a virtual function in C++ that does not require any…

2 years ago

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…

2 years ago

Interface vs Abstract class

As we all know, abstraction refers to hiding the internal implementation of a feature and only giving the users the…

2 years ago

Interface in Java

In Java, an interface is a blueprint for a class. It has abstract methods and static constants. In Java, the…

2 years ago

Abstract Class & Method in Java

In Java, an abstract class is specified with the abstract keyword. Both abstract and non-abstract methods can be used (method…

2 years ago