This blog is about providing theory as well as simple executable codes of different programming languages such as java, C, C++, and web programming, etc. This blog will be helpful to the IT students to learn about programming.

Showing posts with label ew and delete operator. Show all posts
Showing posts with label ew and delete operator. Show all posts

Tuesday, February 21, 2023

Write short notes on 1. abstract class 2. arrays in C++ 3. new and delete operator

February 21, 2023 0
 1. Abstract Class:An abstract class is a class that cannot be instantiated and must be inherited by a subclass. The abstract class is a blueprint or a template for creating other classes. The abstract class provides a set of methods or functions that must be implemented in the subclass. It contains one or more pure virtual functions, which are declared but not defined. The pure virtual function is declared using the "virtual" keyword, followed by "=...

Slider Widget