我爱模板网 > 建站教程 > dart >  Dart编程实例 - 级联操作符 (..)正文

Dart编程实例 - 级联操作符 (..)

Dart编程实例 - 级联操作符 (..)

class Student {

   void test_method() {

      print("This is a  test method");

   }



   void test_method1() {

      print("This is a  test method1");

   }

}  

void main() {

   new Student()

   ..test_method()

   ..test_method1();

}


部分素材资源来源网站,本站提供免费下载,如有侵权请联系站长马上删除!
上一篇:Dart编程实例 - toString() 方法 下一篇:Dart编程实例 - Object
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
选择头像:
最新评论

猜你喜欢