UrbanPro
true

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is Abstraction?

Vijay Kumar
10/05/2017 0 0

In theortical terms, abstraction is:

  1. Hiding details from the outer world.
  2. Providing only essential details to outer world.

C++ provide ways to hide details using access specifiers: public, protected and private.

public access specifier means it is accessible to everyone.

private access specifier means that memebers can only be accessed by other members of the class.

protected is similar to private that is not accessible outside the class but can be accessed by sub classes.

Now most of the people don't understand or have knowledge from whom we are hiding details and how we do it.

We have heard about libraries LIB, DLLs. Libraries are compiled code which can be linked with your applications or programs. Thhat can be created by you or procured from some third party. What generally a library have? It have one heder file which contains interface or functions prototypes and a LIB or DLL. header file is required to tell compiler that used function is defined there at some place. LIB or DLL have the definition or implementation of those functions, which can be linked statically or dynamically. 

So basically you have abstracted the implementation detail from other developer or other organization. Access specifier are the means to achieve it.

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Why we need to learn Programming languages?
Language is medium for communication. If two parties like to communicate or exchange the thoughts they must know a language. Language should be understandable by both the Parties. For example A wants to...

Definite book guides for C++
This post attempts to collect the few pearls among the dozens of bad C++ books. Unlike many other programming languages, which are often picked up on the go from tutorials found on the internet, only...

PRACTISE makes you PERFECT ; ; ; There is no SUBSTITUTE for HARD WORK ;;;;Breathe SUCCESS like OXYGEN
Proper Planning ( reg what portions to be covered today) revising today's class portions & clarifying doubts solving Maths problems regularly ,noting down formulae separately trying to understand...

Polymorphism In C++
Basically polymorphism represents poly means many and morph means forms that many forms. In which we are passing same message to different objets but every object will work for that message in their own...

C++ Program[Working with structure]
//Header files #include<iostream>#include<cstring> //Namespace usedusing namespace std; //Structure definition struct store{ int p_id; char p_name; int quantity; float price; float amount; }; //...
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more