0
我有一个包含事件objects.Event对象一个ArrayList是由一个ID,日期和主题charactirised,我打印出数组的内容,我想打印一个ArrayList
ArrayList.get(INDEx)
和
System.out.println(list)
(名单是我的ArrayList) ,但我得到作为输出:
[[email protected], [email protected],
[email protected],[email protected], [email protected],
[email protected], [email protected]]
研究所我的ArrayList的真正内容(metier是包的名称)的ead,有什么帮助吗?
重写'Event'类的'toString()'方法? – Crozin