提交 e0d5a18e 编写于 作者: Q qiang

docs: update title

上级 8f9c1256
......@@ -5,7 +5,7 @@
* [控制流程](control.md)
* [函数function](function.md)
* [类型别名type](type-aliases.md)
* [对象object](object.md)
* [对象类型object](object.md)
* [类class](class.md)
* [接口interface](interface.md)
* [类型兼容性](type-compatibility.md)
......
## 类(class)
## 类(Class)
uts 中使用关键字 `class` 声明类。
......
# 函数(function)
# 函数(Function)
函数是编程语言常见的功能,它可以封装一批代码,对外接收参数,然后返回值。被封装的逻辑,可以被不同的其他代码调用,达到共同复用逻辑的目的。
......
# 接口(interface)@interface
# 接口(Interface)@interface
接口提供了一种约定,用于确保对象的属性和方法遵循特定的模式。接口只能包含抽象的声明,不能包含具体的实现。接口本身不能被实例化,它可以被类所采用,以提供具体的实现。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册