{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chapter5_1-ClassesAndObjectsInDepth

Chapter5_1-ClassesAndObjectsInDepth - Chapter 5 Classes and...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Information Hiding Chapter 5: Classes and Objects in Depth
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Introduction to OOP Dr. S. GANNOUNI & Dr. A. TOUIR Page 2 Objectives Information hiding principle Modifiers and the visibility UML representation of a class Methods Message passing principle Passing parameters Getters and setters Constructors Overloading
Image of page 2
Introduction to OOP Dr. S. GANNOUNI & Dr. A. TOUIR Page 3 Object Oriented Basic Principles Abstraction Encapsulation Information Hiding Message Passing Overloading Inheritance Overriding Polymorphism Dynamic Binding Information hiding and Message passing are discussed in this chapter. Overloading is discussed in chapter 6. Inheritance, Polymorphism, Overriding and Dynamic binding are discussed in CSC 113.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Introduction to OOP Dr. S. GANNOUNI & Dr. A. TOUIR Page 4 Abstraction Principle Data Abstraction In order to process something from the real world we have to extract the essential characteristics of that object. Data abstraction is the process of: Refining away the unimportant details of an object, Keeping only the useful characteristics that define the object. For example, depending on how a car is viewed (e.g. in terms of something to be registered, or alternatively something to be repaired, etc.) different sets of characteristics will emerge as being important. Functionality Abstraction Modeling functionality suffers from unnecessary functionality may be extracted, or alternatively, an important piece of functionality may be omitted. Functionality abstraction is the process of determining which functionality is important.
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern