- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
[计算机软件及应用]ssd3-Chapter1
Chapter 1 Objects and Classes Contents Introduction to Object Orientation Objects Classes Classes and Objects in Java Composition Java API Introduction Library System 1.1 Introduction to Object Orientation Computer history John Von Neuman , the architecture of computer 1945 Gordon Earle Moore 1965 Moores Law, 1968 create Intel. Computer history Computer history Computer history Computer history Larry Page Sergey Brin. 1998 create Google. Mark Zuckerberg. 2004 create facebook. Cash per employee for tech companies Device in Microsoft 9 prediction about computer(1) 9 prediction about computer(2) Program history Machine code Assembly Language Procedural Programming OO SOA? Abstraction Levels of Abstraction Procedural Programming Get often-used common code, and write them as “functions” or “procedures” Functions take inputs and return outputs e.g., sin( x ), or capitalizeString( s ), isANumber( s ) The main program is still a straight sequence of instructions, but it is now shorter because we can now call functions instead of writing the code all over again Disadvantage (1) Functions can access global data with no limitation; There is no relationship between function and data; Disadvantage (2) A lot of Links make: Program Structure is not clear; Program is difficult to modify; Object Oriented Object Oriented Put datas and operations together to construct an object which cannot be devided. From the objects of a same type, abstract out their common attributes to form a Class. Most data in a class can only be operated in its own class. Class interact with outside by interface. Objects communicate with each other by messages. Features of OOP Information hiding Data abstraction Dynamic binding Inheritance Benefits of OOP Modularity -- autonomous entities, cooperation through exchanges of messages Deferred commitment -- the internal workings of an object can be redefined without changing other parts of the system Reusability -- refining
您可能关注的文档
最近下载
- 2024版房屋抵押贷款合同范本.docx VIP
- 基于反作用飞轮和磁力矩器的卫星姿态控制系统分析-analysis of satellite attitude control system based on reaction flywheel and magnetic torque device.docx VIP
- 地贫筛查中的血红蛋白电泳.pptx VIP
- 光电开关HPX-AG系列使用说明书.PDF VIP
- 精神科患者风险的管理.pptx VIP
- 保护女职工权益知识竞赛题库50题(答案).docx VIP
- 盖板涵施工监理细则.pdf VIP
- 迅达3300调试汇总.doc VIP
- (高清版)B-T 19843-2022 工业通风机 射流风机性能试验.pdf VIP
- 冰美人淘宝直播数据复盘.xlsx VIP
文档评论(0)