問題1
Str ing str= new Str ing( " java, Java, JAVA");
String[] strAry= str. split(",");
for( int i= 0: i<strAry. length; i++){
System. out. pr intIn( strAry [i]);
}
問題2
publ ic class ExControl1 {
public static void main( String[ ] args){
int i= 0; //(1)
while(i <=5) } //(2)
System .out.pr intIn ("iは"+i+"です。");//(3)
i++; //(4)
}
}
}