Skip to content

Commit 8e70d38

Browse files
committed
Update Java基础知识.md
1 parent 618f54e commit 8e70d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/Java基础知识.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
点击关注[公众号](#公众号)及时获取笔主最新更新文章,并可免费领取本文档配套的《Java 面试突击》以及 Java 工程师必备学习资源。
2-
32
<!-- TOC -->
43

54
- [1. 面向对象和面向过程的区别](#1-面向对象和面向过程的区别)
@@ -61,6 +60,7 @@
6160

6261
<!-- /TOC -->
6362

63+
6464
## 1. 面向对象和面向过程的区别
6565

6666
- **面向过程****面向过程性能比面向对象高。** 因为类调用时需要实例化,开销比较大,比较消耗资源,所以当性能是最重要的考量因素的时候,比如单片机、嵌入式开发、Linux/Unix 等一般采用面向过程开发。但是,**面向过程没有面向对象易维护、易复用、易扩展。**

0 commit comments

Comments
 (0)