Bài giảng Management information systems - Module G: Object-Oriented Technologies

5 CONCEPTS OF OO TECHNOLOLGIES Information (number one) Information are key characteristics stored within a system. Examples include: Student Last Name Student First Name Final Course Grade

ppt15 trang | Chia sẻ: baothanh01 | Lượt xem: 698 | Lượt tải: 0download
Bạn đang xem nội dung tài liệu Bài giảng Management information systems - Module G: Object-Oriented Technologies, để tải tài liệu về máy bạn click vào nút DOWNLOAD ở trên
Extended Learning Module GObject-Oriented TechnologiesTRADITIONAL TECHNOLOGY APPROACH – Information ViewInformation view – all of the information stored within a systemOBJECT-ORIENTED TECHNOLOGY APPROACHObject-oriented (OO) approach – combines information and procedures into a single view5 CONCEPTS OF OO TECHNOLOLGIESInformation (number one)Information are key characteristics stored within a system. Examples include:Student Last NameStudent First NameFinal Course Grade5 CONCEPTS OF OO TECHNOLOLGIESProcedures (number two)Procedure – manipulates or changes information. Examples include:CRUD Student Last NameCalculate Final Course Grade5 CONCEPTS OF OO TECHNOLOLGIESClass (number three)Class – contains information and procedures and acts as a template to create objectsInformation decomposition – breaking down the information and procedures for ease of use and understandability5 CONCEPTS OF OO TECHNOLOLGIESObject (number four)Object – an instance of a classAn object is the actual item represented by the classAlana and Samuel in Figure G.4 on the following slide are objectsEvery member is a separate objectObjects in OO Technologies5 CONCEPTS OF OO TECHNOLOLGIESMessages (number five)Message – how objects communicate with each otherOne object can send a message to another object asking it to perform a certain procedure3 FUNDAMENTAL OO PRINCIPLESThe three fundamental principles of object-oriented technologies are:InheritanceEncapsulationPolymorphismInheritanceInheritance – the ability to define superclass and subclass relationships among classesTake a minute and review Figure G.6 on the following slide to determine which class is the superclass which is the subclassInheritanceEncapsulationEncapsulation – information hidingInterface – any device that calls procedures and can include such things as a keyboard, mouse, and touch screenPolymorphismPolymorphism – to have many formsThe word “bark” can mean tree bark or a dog’s barkFigure G.7 (following slide) shows how to calculate area with different calculationsPolymorphism
Tài liệu liên quan