I have a while loop and I want to call the variable multiple times is it possible?

前端 未结 0 1939
执笔经年
执笔经年 2020-12-11 12:57

An example of this would be

i = 0;
while(i < 3) {
Scanner scan = new Scanner();
String variableIWantToCallLater = scan.nextLine();
}

User

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