Add items to list one by one in Java

by adelia_boyer , in category: Java , 9 months ago

Add items to list one by one in Java

1
2
3
4
5
6
List list = new ArrayList();
list.add(".jpg");
list.add(".png");
list.add(".gif");
list.add(".jpeg");
list.add(".bmp");

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers