C

Difference between Abstraction and Encapsulation in C++

Abstraction & Encapsulation are two essential concepts of Object-Oriented Programming Language. In this post, we will have a glance at difference between Abstraction and Encapsulation in C++ programming language with tables. Difference between Abstraction and Encapsulation in C++ S.NO ABSTRACTION ENCAPSULATION 1. In the abstraction, problems are resolved at the level of design or interface. While …

Difference between Abstraction and Encapsulation in C++ Read More »

C++ Classes & Objects

Classes It is a user-defined data type and represents the blueprint from which objects are created. Further, it represents the set of properties or methods that are common to all objects of one type. A class never has any physical existence. It is a logical thing. Syntax class ClassName{ }; Let us take a real-time …

C++ Classes & Objects Read More »

C++ Abstraction

Data abstraction is the property by which only the essential details are displayed to the user. The trivial or non-essential units are not displayed to the user. It reduces the complexity of viewing things. It may be defined as the process of identifying only the required characteristics of an object hiding unnecessary or irrelevant details. …

C++ Abstraction Read More »