+ 4
What are abstraction and encapsulation in classes?
2 Antworten
+ 4
abstraction means hiding implementation details
a function makes use of abstraction
encapsulation (putting in a capsule) refers to the concept of regulating access to your attributes and functions
an abstract class is not present in all languages and normally refers to a class that cannot be directly instantiated
0
show c++