how to print

List displayBuckets=new ArrayList();

public List getList(String Pattern) {

List ret = new ArrayList();

ret.add("aaa");

for (int j = 1; j < displayBuckets.size(); j++)

ret.add(DateService.getDate(((Bucket) displayBuckets.get(j)).getDateFrom(), Pattern + ""));

return ret;

}

In the above program how can print ret List plz any help

[387 byte] By [Brucepaynea] at [2007-11-27 4:52:38]
# 1
What are you trying to print...print Dates as strings?
pundeera at 2007-7-12 10:06:41 > top of Java-index,Core,Core APIs...
# 2
not sure, maybeSystem.out.println(ret); // or ...println(ret.toString());
S_i_m_ua at 2007-7-12 10:06:41 > top of Java-index,Core,Core APIs...