I am very new in Java. Say I have a ArrayList
with 10 string items, what I am trying to archive are
Print each items every second.
When all items are printed, it will return to the beginning, repeating printing
Can you give me some ideas in Java
ArrayList<String> testAL = new ArrayList<String>();
Timer tickerTimer = new Timer();
TimerTask sendMessageTask = new TimerTask() {
public void run() {
}
};