|
ToDo:
|
[Win] 若∴ゃ号
Disk罩祉
[Java] JDK1.5
FCSc③綣
篁с篏c鐚
import java.util.*;
public class Sample {
enum Season { SPRING, SUMMER, FALL, WINTER }
public static void main(String args[]){
List<String> list = new ArrayList<String> () ;
list.add("ABC");
list.add("124");
Iterator<String> it = list.iterator();
while ( it.hasNext()){
System.out.println(it.next());
}
for ( String str : args ){
System.out.println("Args : " + str);
}
Integer i = new Integer(20);
System.out.println(i / 4);
System.out.println("Season : " + Season.SPRING);
Object s = Season.SPRING;
}
}
Integer膊generics⒢