public class DefineDemo {
public static void main(String[] args) {
String[] classGroup = { "Choi Jin-hyuk", "Choi Yu-bin", "Han Yi-ram", "Going"};
}
}
public class GetDemo {
public static void main(String[] args) {
String[] classGroup = { "Choi Jin-hyuk", "Choi Yu-bin", "Han Yi-ram", "Going"};
System.out.println(classGroup[0]);
System.out.println(classGroup[1]);
System.out.println(classGroup[2]);
System.out.println(classGroup[3]);
}
}
System.out.println(classGroup[0]);
System.out.println(classGroup[1]);
System.out.println(classGroup[2]);
System.out.println(classGroup[3]);
There's nothing else but a printout.
© 2024 OneMinuteCode. All rights reserved.