mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-09 14:06:06 +00:00
Use underline format for the technical terms (#1213)
* Use underline format for the technical terms * Bug fixes
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
**Q**:函数和方法这两个术语的区别是什么?
|
||||
|
||||
「函数 function」可以被独立执行,所有参数都以显式传递。「方法 method」与一个对象关联,被隐式传递给调用它的对象,能够对类的实例中包含的数据进行操作。
|
||||
<u>函数(function)</u>可以被独立执行,所有参数都以显式传递。<u>方法(method)</u>与一个对象关联,被隐式传递给调用它的对象,能够对类的实例中包含的数据进行操作。
|
||||
|
||||
下面以几种常见的编程语言为例来说明。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user