diff --git a/_zh-cn/tour/basics.md b/_zh-cn/tour/basics.md index dc6a06b0be..7160de9e41 100644 --- a/_zh-cn/tour/basics.md +++ b/_zh-cn/tour/basics.md @@ -11,8 +11,6 @@ language: zh-cn next-page: unified-types previous-page: tour-of-scala - -redirect_from: "/tutorials/tour/basics.html" --- 这篇文章涵盖了Scala的基础知识。 diff --git a/_zh-cn/tour/classes.md b/_zh-cn/tour/classes.md index 1fa22ae904..1f6026a3aa 100644 --- a/_zh-cn/tour/classes.md +++ b/_zh-cn/tour/classes.md @@ -14,8 +14,6 @@ next-page: traits previous-page: unified-types topics: classes prerequisite-knowledge: no-return-keyword, type-declaration-syntax, string-interpolation, procedures - -redirect_from: "/tutorials/tour/classes.html" --- Scala中的类是用于创建对象的蓝图,其中包含了方法、常量、变量、类型、对象、特质、类,这些统称为成员。类型、对象和特质将在后面的文章中介绍。 diff --git a/_zh-cn/tour/traits.md b/_zh-cn/tour/traits.md index 188a40def2..56890f0f74 100644 --- a/_zh-cn/tour/traits.md +++ b/_zh-cn/tour/traits.md @@ -14,8 +14,6 @@ next-page: tuples previous-page: classes topics: traits prerequisite-knowledge: expressions, classes, generics, objects, companion-objects - -redirect_from: "/tutorials/tour/traits.html" --- 特质 (Traits) 用于在类 (Class)之间共享程序接口 (Interface)和字段 (Fields)。 它们类似于Java 8的接口。 类和对象 (Objects)可以扩展特质,但是特质不能被实例化,因此特质没有参数。 diff --git a/_zh-cn/tour/unified-types.md b/_zh-cn/tour/unified-types.md index 69a01b09d7..4ddd6d01ac 100644 --- a/_zh-cn/tour/unified-types.md +++ b/_zh-cn/tour/unified-types.md @@ -13,8 +13,6 @@ language: zh-cn next-page: classes previous-page: basics prerequisite-knowledge: classes, basics - -redirect_from: "/tutorials/tour/unified-types.html" --- 在Scala中,所有的值都有类型,包括数值和函数。下图阐述了类型层次结构的一个子集。