Showing posts with label Object oriented programming. Show all posts
Showing posts with label Object oriented programming. Show all posts

Passing Objects to Functions

Passing Objects to Functions CONCEPT  Class objects may be passed as arguments to functions. EXPLANATION As we know how to ...
Read More

Default Constructor

Default Constructor CONCEPT  Default Constructor is also called as Empty Constructor which has no arguments and It  is Automatical...
Read More

Types of Constructors

Types of Constructors Three types of constructors are discussed  below Please click on the link below which you want to study 1-...
Read More

Overloading Constructors

Overloading Constructors CONCEPT Multiple constructors with the same name may exist in a C++ program, as long as their parameter l...
Read More

Use of Scope Resolution Operator

Use of Scope Resolution Operator Before reading this please go through my last Post  Click here to view  . 1 / / This program demons...
Read More

Defining Member Functions

Defining Member Functions CONCEPT Class member functions can be defined either inside or outside the class  declaration. EXPLAN...
Read More

Accessing an Object’s Members

Accessing an Object’s Members Public members of a class object are accessed with the dot operator . For example , the following statem...
Read More

Introduction to Objects

Introduction to Objects CONCEPT Objects are instances of a class. They are created with a definition statement after the class has...
Read More