C# – Classes – An Introduction

‘C#’ classes are code blocks that combine data and operations those work on the data. ‘C#’ classes enables Object Oriented Programming (OOP) concepts of encapsulation and abstraction. Encapsulation means combining data and the operations apply on the data together. Abstraction means hiding the details to outer world. ‘C#’ classes are created using the class keyword. Below […]

C++ – Class Constructors

In C++, class constructors are special kind of methods to instantiate a class. When class’s object is going to create, C++ will first call class’s constructor to initialize the class. Initialize the class means, assigning it’s members and allocating any dynamic memory etc., After class’s constructor is called, class’s object creation will be completed. Constructors […]

Scroll to top