lesson 11 OOP .pdf - Lesson 11 Abstraction 11.1...

This preview shows page 1 - 2 out of 4 pages.

Lesson 11: Abstraction 11.1. Introduction In our previous lesson, we discussed about classes and objects. In this lesson, you will learn about abstraction- both functional and data abstraction. 11.2. Lesson objectives By the end of this lesson, you will be able to: Define abstraction Explain the importance of abstraction Describe ways of implementing abstraction 11.3. Lesson outline This lesson is structured as follows: 11.1. Introduction 11.2. Lesson objectives 11.3. Lesson outline 11.4. Abstraction 11.5. Data abstraction 11.6. Advantages of data abstraction 11.7. Disadvantages of data abstraction 11.8. Functional abstraction 11.9. Advantages of functional abstraction 11.10. Disadvantages of functional abstraction 11.11. Abstract classes 11.12. Revision questions 11.13. Summary 11.14. Suggested reading 11.4. Abstraction Abstraction is an object oriented programming feature that allows users to work with functions and/or data without concerning themselves of how the functions are actually implemented (functional abstraction) and/or how the data is actually stored(data abstraction).Using abstraction, you only provide the necessary details and hide the background details. It is also referred to as information hiding. 11.5. Data abstraction Data abstraction refers to, providing only essential information to the outside world and hiding their background details, i.e., to represent the needed information in program without presenting the details. Using

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture