摘要: 方法是具名的语句序列 returnType methodName ( parameterList ) returnType(返回类型)是类型名称,指定方法返回的数据类型。可以是任何类型, 如 int 或 string。要写不返回值的方法,必须用关键字 void 取代 returnType。 meth 阅读全文
posted @ 2019-05-07 09:54 sarah_linux 阅读(160) 评论(0) 推荐(0)