I am new in Java.
Now I want to generate an ArrayList containing some values.
"Circle","blue","red","yellow","1","2","3","4"
How can I code this. I found some tutorial from internet. Only int or string accepted? How about mix? Could someone should me the code that how to do this?
Thanks!
here is a simple tutorial http://www.java-samples.com/showtutorial.php?tutorialid=234
or you can do this as well