1) Abstraction
2) Encapsulation
3) Inheritance
4) Polymorphism
Abstraction:
- the process of separating the how from the what - how an operation is performed inside a class, as opposed to what's visible to the class user
- by abstracting class functionality we make it easier to design a program because we don't need to think about implementation details at too early stage in the design process (1)
References:
Main concepts in OOP (SO)
(1) Data Structures And Algorithms, Robert Lafore
2) Encapsulation
3) Inheritance
4) Polymorphism
Abstraction:
- the process of separating the how from the what - how an operation is performed inside a class, as opposed to what's visible to the class user
- by abstracting class functionality we make it easier to design a program because we don't need to think about implementation details at too early stage in the design process (1)
References:
Main concepts in OOP (SO)
(1) Data Structures And Algorithms, Robert Lafore
No comments:
Post a Comment