For loop with two variables in scala

后端 未结 0 406
时光说笑
时光说笑 2021-01-31 01:14

I have the following java code:

    for (int i = 0, j = 0; i < 10 && j < 10 0; i++, j++)
  {
           System.out.println("i = " + i + &q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题