标签:object int rgs for cti -- date ring void
package com.yikuan.cn;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
public class Test2 {
public static void main(String[] args) {
Collection<Object> coll = new ArrayList<>();
coll.add(123);
coll.add(new String("abcdef"));
coll.add(new Date());
coll.add("BBBBB");
for (Object obj : coll) {
System.out.println(obj);
}
}
}
标签:object int rgs for cti -- date ring void
原文地址:https://www.cnblogs.com/yikuan-919/p/9495875.html