+ 4

What are abstraction and encapsulation in classes?

11th May 2018, 12:32 AM
Sanju Jose
Sanju Jose - avatar
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
11th May 2018, 3:12 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
0
show c++
11th May 2018, 10:33 PM
Salim Midou