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

Compiler vs Interpreter
Compiler Interpreter Convert all the code into binary format and execute. Convert one statement at a time and execute, then Convert next statement and execute. After conversion, source...

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...

C++ Overview
Introduction: C++ is the first object oriented programming language used universally as an advanced version of C language. Many features such as Inheritance, Class & Object, Polymorphism(Function...
N

Namrata Y.

0 0
0

Understanding Computer Science Concepts with Images and Videos..
All Computer science concepts relating to programming and software development are only virtual. It cannot be practically shown as a hardware parts of a computer. But for better understanding it should...

Macro v/s Inline Function
Disadvantages of Macro compared to functions: Works on text substituiton mechanism by the preprocessor unlike normal functions where assembly-language Call and Return are used. Preprocessor macros...

Looking for C++ Language Classes?

Learn from Best Tutors on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
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