Chapter3_1-ClassesAndObjects

Objects of the same type have the same

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: e real world may be classified into types: Cars, CellPhones, CD Players, etc. • Objects of the same type have the same characteristics and are manufactured using the same blueprint. • A class is a blueprint or prototype from which objects of the same type are created. • A class describes a set of objects having the same characteristics and offering the same services. Page 7 Dr. S. GANNOUNI & Dr. A. TOUIR Introduction to OOP Object Oriented Basic Principles • • • • • Abstraction Encapsulation Information Hiding Message Passing Overloading • • • • Inheritance Overriding Polymorphism Dynamic Binding • Information hiding, Message passing and Overloading are covered by chapter 5 of this course. • Inheritance, Polymorphism, Overriding and Dynamic binding are discussed in CSC 113. Page 8 Dr. S. GANNOUNI & Dr. A. TOUIR Introduction to OOP 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 proce...
View Full Document

This document was uploaded on 03/03/2014.

Ask a homework question - tutors are online