java面试题

当前位置: 面试问题网 > java面试题 > 面向对象编程OOP的优点

面向对象编程OOP的优点

1. Simplicity: software objects model real world objects, so the complexity is reduced and the program structure is very clear;
   简单性: 因为面向对象语言里面的对象都是反映的真实世界的对象,所以复杂性就降低了而且程序结构也更加清晰;
   2. Modularity: each object forms a separate entity whose internal workings are decoupled from other parts of the system;
   模块性: 每一个对象都来源于一个单独的实体, 它内部的工作与系统的其他部分是分离的
   3. Modifiability: it is easy to make minor changes in the data representation or the procedures in an OO program. Changes inside a class do not affect any other part of a program, since the only public interface that the external world has to a class is through the use of methods;
   易修改性: 在面向对象程序中对数据表现层和工作过程进行小的改动是非常简单的, 类内部的改动不会影响程序的其他部分,因为外边的程序与这个类的交互是通过一个公开的接口方法进行的。只要这个方法不改动就不会影响交互。
   4. Extensibility: adding new features or responding to changing operating environments can be solved by introducing a few new objects and modifying some existing ones;
   可扩展性:在面向对象程序里面,添加新的功能只需要引入新的对象或者修改一下现存的对象。
   5. Maintainability: objects can be maintained separately, making locating and fixing problems easier;
   可维护性: 对象可以进行分别维护, 这样就使查找问题和修复问题变得简单了
   6. Re-usability: objects can be reused in different programs
   重用性:对象可以在不同的程序里面重用

【面向对象编程OOP的优点】相关文章

1. 面向对象编程OOP的优点

2. 面向对象编程的优势是什么

3. 面向对象编程是如何提高软件开发水平的

4. 面向对象设计的原则是什么

5. 介绍一下结构化程序设计方法和面向对象程序设计方法的区别

6. 传统软件工程与面向对象的软件工程有什么区别

7. Java面向对象面试题

8. 面向对象概念面试题(.NET)

9. 在C中是否有模拟继承等面向对象程序设计特性的好方法

10. Ruby中的保护方法和私有方法与一般面向对象程序设计语言的一样吗

本文来源:https://www.mianshiwenti.com/a12353.html

点击展开全部

《面向对象编程OOP的优点》

将本文的Word文档下载到电脑,方便收藏和打印

推荐程度:

进入下载页面

﹝面向对象编程OOP的优点﹞相关内容

其它栏目

也许您还喜欢