mirror of
https://gitee.com/gaohongy/Java-Book.git
synced 2026-07-16 10:03:49 +00:00
修改图片不能查看的问题
This commit is contained in:
+2
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
利用生活当中的例子:你去修车,给修车师傅说明你需要处理什么问题(外部接口调用),修车师傅去处理你车的故障(运行封装在类内部的功能函数等),最后告知你处理结果(外部接口调用返回)。
|
||||
|
||||

|
||||

|
||||
|
||||
修车师傅是一个对象,你只告诉修车师傅什么故障,剩下的事情交给他来处理,会给你一个处理结果。你并不关系修车师傅是如何修车的。这就是类的抽象与封装。
|
||||
|
||||
@@ -262,3 +262,4 @@ public class PalindromeIgnoreNonAlphanumeric {
|
||||
}
|
||||
```
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user