+ 1
What is abstraction in C++ and how we use it?
I read about abstraction. ..classes and objects in this app but didn't even got a ides what abstraction is and how we use it in a real code?
2 Respostas
+ 1
it simply means that the memebers of class(data+functions) are hidden behind the object and are accessible only through it..
this is abstraction
and if your are creating any classin your program..you are actually using it 🙇
+ 1
In object oriented programming, abstraction is one of two central principles (along with encapsulation and inheritance. Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.