-->

Posts Blog Archive: April 2024

Constructor with Default values with example and code in c++ oop

Constructor with default value in c++ oop A constructor with default values is a special constructor…

Copy constructor vs Default Copy constructor vs Deficiencies of Default Copy Constructors

Copy Constructor A copy constructor is a special constructor that's used when a new object is ma…

Constructors and Destructor

Constructors A constructor is a member function that is automatically called when a class object is …

Inline Function

Inline Function When a class function is defined as a short, minimum line of code, it is called an …

Defining Member Functions

Defining Member Functions Class member functions can be defined either inside or outside the class …

Access Specifiers in OOP

Access Specifiers in OOP There are three access specifiers in OOP. But here we only focus on two (p…

Naming convention in OOP

Naming convention in OOP Data items (int, float, etc.) are called data members. Functions are called …

Object Oriented Programming (OOP)

OOP is the most important feature of c++ programming language. Object-oriented programming is about …