Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 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.