Javaの問題
問題
以下のプログラムをコンパイル、実行した場合の結果として、正しいものを以下から選びなさい。
public class Test {
public static void main(String[] args) {
int test = 0;
for(int i=0; i<3; test+=2, i++){
if (i==1) continue;
test += 1;
}
System.out.println("test = "+ test);
}
}
問題番号:1312251537371作成者:-