аЯрЁБс>ўџ @Bўџџџ?џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџьЅС7 №ПЭbjbjUU .D7|7|J‚џџџџџџlђђђђђђђЬЬЬ8Œ2АА:ъъъХ Х Х ’’’’’’$C cАЖђХ Х Х Х Х ЖЫ ђђъълЫЫ Ы Ы Х BђъђъЫ Х Ы юЫ Й ˜ђђфъЄ `ІqфХЭТЦЬ vАфЌс0И,} NфЫ ђђђђйObject-Oriented Programming – Summary of Key Terms Definitions of some of the key concepts in Object Oriented Programming (OOP) Examples are given in italics. Cross-references are underlined. TermDefinitionAbstract Data TypeA user-defined data type, including both attributes (its state) and methods (its behaviour). An object oriented language will include means to define new types (see class) and create instances of those classes (see object). It will also provide a number of primitive types. AggregationObjects that are made up of other objects are known as aggregations. The relationship is generally of one of two types: Composition – the object is composed of other objects. This form of aggregation is a form of code reuse. E.g. A Car is composed of Wheels, a Chassis and an Engine Collection – the object contains other objects. E.g. a List contains several Items; A Set several Members.AttributeA characteristic of an object. Collectively the attributes of an object describe its state. E.g. a Car may have attributes of Speed, Direction, Registration Number and Driver.ClassThe definition of objects of the same abstract data type. In Java class is the keyword used to define new types.Dynamic (Late) BindingThe identification at run time of which version of a method is being called (see polymorphism). When the class of an object cannot be identified at compile time, it is impossible to use static binding to identify the correct object method, so dynamic binding must be used.EncapsulationThe combining together of attributes (data) and methods (behaviour/processes) into a single abstract data type with a public interface and a private implementation. This allows the implementation to be altered without affecting the interface.InheritanceThe derivation of one class from another so that the attributes and methods of one class are part of the definition of another class. The first class is often referred to the base or parent class. The child is often referred to as a derived or sub-class. Derived classes are always ‘a kind of’ their base classes. Derived classes generally add to the attributes and/or behaviour of the base class. Inheritance is one form of object-oriented code reuse. E.g. Both Motorbikes and Cars are kinds of MotorVehicles and therefore share some common attributes and behaviour but may add their own that are unique to that particular type.InterfaceThe behaviour that a class exposes to the outside world; its public face. Also called its ‘contract’. In Java interface is also a keyword similar to class. However a Java interface contains no implementation: it simply describes the behaviour expected of a particular type of object, it doesn’t so how that behaviour should be implemented.Member VariableSee attributeMethodThe implementation of some behaviour of an object.MessageThe invoking of a method of an object. In an object-oriented application objects send each other messages (i.e. execute each others methods) to achieve the desired behaviour.ObjectAn instance of a class. Objects have state, identity and behaviour.OverloadingAllowing the same method name to be used for more than one implementation. The different versions of the method vary according to their parameter lists. If this can be determined at compile time then static binding is used, otherwise dynamic binding is used to select the correct method as runtime.PolymorphismGenerally, the ability of different classes of object to respond to the same message in different, class-specific ways. Polymorphic methods are used which have one name but different implementations for different classes. E.g. Both the Plane and Car types might be able to respond to a turnLeft message. While the behaviour is the same, the means of achieving it are specific to each type.Primitive TypeThe basic types which are provided with a given object-oriented programming language. E.g. int, float, double, char, booleanStatic(Early) BindingThe identification at compile time of which version of a polymorphic method is being called. In order to do this the compiler must identify the class of an object. Introduction to Java 2 Programming Handout  FILENAME OOP Terms.doc L. Dodds, October 2002-10-06  PAGE 1/ NUMPAGES 2 3+2Œ‘ОФшїщ"SŒѕHvˆ’—  * 6 “ Ё   ) 0 v    Т r “ ˜ ь ѕ ч№$*GMTZ§'6VўdŠ27vw‚‘’АБЗИЙКЛМЦЧћѕћѕћѕћѕћѕћяћяћяћѕћьћѕћѕћѕћѕћѕћѕћѕћяћѕћьћѕћѕћѕћѕћѕћѕћѕћяћяћѕћућулућћдбдЩдбдбд0JmHnHu0J j0JUmHnHsH ujUmH sH 0J 6mH sH  >*mH sH mH sH O34‚ТУШгдчњ§ћћћћћѕѕnœѕѕ†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laі$If JЬўўњћ€#ŽxPrrrhh & F$If$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіŽ™Ixьrr$If†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіIJPСxрrr$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіСТйъ xЄrr$If†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіъ ы љ ь xrr$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіь э љ љ њ С Т s x rrrrrr$If†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіs t ~ вx|rr$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laівгуёx|rr$If†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіёђљ,xьrr$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laі,-5фxрrr$If†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіфхь0x0rr$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laі01=hxрrr$If†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіhivUVўxXrrrr$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіўџ‹x4rr$If†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laі‹ŒЂFxьrr$If†$$If–lжж0”џ," ж  tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laіFGHIJ‘’ЪЫЬЭxvvvtvrvvv†$$If–lжж0”џ," ж tржџџџџџџж0џџџџџџџџџџі6ііжџџжџџжџџжџџ4ж4ж laі ЧШЩЪЬЭї№ыыmH sH  j0JU0JmHnHu,1hАа/ Ар=!А"А# $ %ААФАФ Ф i8@ёџ8 NormalCJ_HaJmH sH tH R@R Heading 1$Є№Є<@&5CJ KH OJQJ\^JaJ <A@ђџЁ< Default Paragraph Font,@ђ, Header  ЦрР!, @, Footer  ЦрР!&)@Ђ& Page Number0ў0 CodeCJOJQJmH sH >ўOЂA> Code CharOJQJ_HaJmH sH tH ЭDџџџџ34‚ТУШгдчњћ€#Ž™IJPСТйъыљьэљs t ~ в г у ё ђ љ , - 5 ф х ь 0 1 = h i v ўџ‹ŒЂFGHIJ‘’ЪЮ0€€˜0€€˜0€€˜0€€˜0€€˜0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€Љ0€€Љ 0€€Љ 0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Ћ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Ћ0€€™0€€Љ0€€Љ0€€™0€€Љ0€€Љ0€€™0€€˜0€€˜0€€˜0€€š@0€€š@0€€š@0€€ 0HH„ЧЭ!њŽIСъ ь s вё,ф0hў‹FЭ Ь,7Efmoq|~„џ•€!џ•€џ•€№8№@ёџџџ€€€ї№’№№0№( № №№B №S №ПЫџ ?№˜ТУгд24‘“ФЧїћ€эіњРТR S r t ˜ ™ ѕ і в г № ђ * - M N Z VўџŠŒ78FJЫЮЁСDЧОјњРТr ю TV[ŒЁJЫЮŸ ЁЂУгдчЧ0L€™JPТйыљэљіїјњeiРТI R ђ љ - 5 i v TVџdŒIJv’АКЛЫЮџџldodds Leigh Dodds0C:\projects\lectures\intro2java\#1 OOP Terms.doc Leigh Dodds"F:\projects\lectures\OOP Terms.doc§Vк`Jљtэџџџџџџџџџh„а„˜ўЦа^„а`„˜ўOJQJo(‡hˆHЗ№h„ „˜ўЦ ^„ `„˜ўOJQJ^Jo(‡hˆHoh„p„˜ўЦp^„p`„˜ўOJQJo(‡hˆHЇ№h„@ „˜ўЦ@ ^„@ `„˜ўOJQJo(‡hˆHЗ№h„„˜ўЦ^„`„˜ўOJQJ^Jo(‡hˆHoh„р„˜ўЦр^„р`„˜ўOJQJo(‡hˆHЇ№h„А„˜ўЦА^„А`„˜ўOJQJo(‡hˆHЗ№h„€„˜ўЦ€^„€`„˜ўOJQJ^Jo(‡hˆHoh„P„˜ўЦP^„P`„˜ўOJQJo(‡hˆHЇ№§Vк`џџџџџџџџ         УШгдчњћŽ™IJPСТйъыљьэљs t ~ в г у ё ђ љ , - 5 ф х ь 0 1 = h i v ўџ‹ŒЂFGЮžžžžžžžžžžžžžžžž–џ@€‚‚ŒНd‚‚ЭP@џџUnknownџџџџџџџџџџџџG‡:џTimes New Roman5€Symbol3& ‡:џArial?5 ‡:џCourier New;€Wingdings"ёˆ№аh+3jw2r† Œ[n kЭ !№ ДДr0d~83ƒQ№Hџџ2Object-Oriented Programming  Summary of Key Termsldodds Leigh Doddsўџ р…ŸђљOhЋ‘+'Гй0œ˜др№ќ 0< X d p|„Œ”ф3Object-Oriented Programming – Summary of Key TermsbjeldoddsOdoddod Normal.dotn Leigh Dodds9igMicrosoft Word 9.0g@HЪŽ@Ђ<ч5mТ@ђхЯХЭТ[n ўџ еЭеœ.“—+,љЎ0 hp|„Œ” œЄЌД М ћфt~  3Object-Oriented Programming – Summary of Key Terms Title  !"ўџџџ$%&'()*+,-.ўџџџ0123456ўџџџ89:;<=>ўџџџ§џџџAўџџџўџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџRoot Entryџџџџџџџџ РF€GyфХЭТC€1Tableџџџџџџџџџџџџ#WordDocumentџџџџџџџџ.DSummaryInformation(џџџџ/DocumentSummaryInformation8џџџџџџџџџџџџ7CompObjџџџџjObjectPoolџџџџџџџџџџџџ€GyфХЭТ€GyфХЭТџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџўџ џџџџ РFMicrosoft Word Document MSWordDocWord.Document.8є9Вq