class X {
  void test() {
    for (int i = 0; i < 10; i++) {
      System.out.println(i);
    }
  }
}
/*
class X {
  def test(): Unit = {
    for (i <- 0 until 10) {
      System.out.println(i)
    }
  }
}*/