by Dinesh Thakur Category: Classes in C++

We know that C++ is an OOP language that is code of C++ may Contains classes there is a main Method which also Reside in Class.

if any one wants to use any data or member functions from Class then first We have to create an object of that class then with the help of dot operator we can call or use any data member or  member function from the class, C++ allows all OOPS Concepts like Data abstraction ,Inheritance, Polymorphism and Data Encapsulation all these are Achieved only you will Create Code in the Form Classes

 

A Class Contains

 

1) Data Members or   Simply Called As Variables

2) Member Functions or Simply Called as Functions

 



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.



Search Content







Popular Article