Dart编程实例 - Object
class Student {
void test_method() {
print("This is a test method");
}
void test_method1() {
print("This is a test method1");
}
}
void main() {
Student s1 = new Student();
s1.test_method();
s1.test_method1();
}
部分素材资源来源网站,本站提供免费下载,如有侵权请联系站长马上删除!