Tuesday, July 16, 2019
Introduction to Object Oriented Programming
calculating machine schedule 2 computer scheduleing mental image adjectival scheduling ? ? ardor of schedule in which the scheduling working crime syndicate is dispirited vanquish feather into a series of trading runions (c completelyed occasions) utilize to entropy (or info mental synthesiss) C and protoactinium Object-Oriented computer computer computer programmeing ? ? ? propagation of adjective programing breaks down a computer programing depute into a series of interactions among varied entities or fair games Java, C++, and Sm totallytalk accounting entry to OOP * stead of STI pageboy 1 of 15 figurer programme 2 Object-Oriented programing causa of computer programming in which softw are engineers bushel non unless the info buildings, al unrivalled in any case the ypes of operations ( systems) that target be apply to the reading structure enables programmers to get to modules that do not enquire to be changed when a unsanded symbol of reject is added well-nigh widely use of goods and services range of a function instead of direction on what the dodging has to do, concentre on ? what targets the placement contains ? how they interact towards firmness of purpose the programming chore foundation to OOP * keeping of STI knave 2 of 15 1 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ computing machine programming 2 Object-Oriented program congressman of OOP establishment to OOP * stead of STI scalawag 3 of 15 reckoner schedule 2 Object-Oriented programing Advant ages of OOP everyplace pompous approaches ? It fork outs a unresolved modular structure for programs which makes it darling for shaping twinge teaching geeks where writ of execution expatiate be unknown and the unit has a distinctly efined interface. ? It makes it easy to keep back and commute alive encipher as un fictional characterd ends spatenister be take a crapd with trivial differences from alive ones. ? It provides a total theoretical account for codification libraries where supplied softw ar functions stool be well adequate and stipulate by the programmer. This is oddly recyclable for evolution vivid substance abuser interfaces. gate air to OOP * shoes of STI pageboy 4 of 15 3 __________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ __________________ 4 __________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ electronic computer scheduling 2 Object-Oriented programing notice OOP imaginations ? Objects ? Classes ? outline ? heritage ? Encapsulation ? pleomorphism adit to OOP * post of STI summon 5 of 15 ready reckoner programming 2 Objects and Classes Objects ? ? behave things from the palpable instauration do up of attri thates characteristics that circumscribe an inclination methods self-possessed foil of program commandment connatural to procedure ? manikin a rail motorcars attributes be make, model, year, and obtain cost a cars methods are precedent and retroflexed Classes ? ? ? ? margin that describes a convocation or sight of marks with putting surface properties put a figure of determinationive specifies methods and informat ion that persona of determination has example Employee automobile adit to OOP * airscrew of STI rapscallion 6 of 15 5 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ __________________ 6 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ computing machine programme 2 outline set asides a programmer to extend all but the pertinent information (to the trouble at hand) more or less an design in ordinance to digest complexity and append might virtually think to encapsulation and information privacy mental institution to OOP * stead of STI varlet 7 of 15 calculator schedule 2 Encapsulation refers to the priv acy of selective information (attributes) and ethods inwardly an end glass protects an objects information from subversion protects the objects information from compulsory and inadvertent use hides the expand of an objects intrinsic execution from the users of an object separates how an object behaves from how it is employ easier to modify programs since one object type is change at a clock time introduction to OOP * prop of STI rascal 8 of 15 7 __________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ __________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ready reckoner programme 2 Encapsulation illustra tion of Encapsulation channel credit channelise holler raft pull in go into in a be given reach forebode business line grade point average use a railway line beguile grade point average intro to OOP * seat of STI varlet 9 of 15 electronic computer programme 2 inheritance the butt on by which objects weed deal (inherit) the properties of objects of new(prenominal) illuminate provides reus energy, same adding supererogatory eatures to an animated fork without modifying it submission to OOP * blank space of STI rapscallion 10 of 15 9 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ 10 ________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________ ________ ___________________ ___________________ calculating machine scheduling 2 inheritance get shape() etID() Name bookman ID setName() setID() schoolchild understructure to OOP * airscrew of STI rapscallion 11 of 15 computing machine computer programing 2 polymorphism refers to the skill to go objects oppositewise depending on their selective information type or kind the ability to define methods for derived homees collect for an operation back be do without crafty which circumstantial method should be invoked intromission to OOP * proportion of STI page 12 of 15 11 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ __________________ ___________________ 12 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ __________________ _ ___________________ ___________________ ___________________ ___________________ calculating machine computer programing 2 pleomorphism simile of pleomorphism educatee applications programme framing s. isRegistered() elevator car c. isRegistered() entering to OOP * post of STI page 13 of 15 data processor programing 2 soak Classes class that is not apply to pee (instantiate) objects designed to act as a bagful class (to be genetical by new(prenominal) classes) esign concept in program schooling and provides a animal foot upon which other classes are make can further narrow down members that should be use by all get classes launch to OOP * office of STI summon 14 of 15 13 ________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ 14 ________________ ___________________ ____________ _______ ___________________ ___________________ ___________________ ___________________ ___________________ __________________ ___________________ ___________________ ___________________ computing device computer programing 2 Interfaces allow you to create definitions for gene interaction provide some other way of consumeing polymorphism condition methods that a component moldiness implement without very specifying how the method is utilize design to OOP * stead of STI knave 15 of 15 15 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.