Add items to list one by one in Java

Member

adelia_boyer

by adelia_boyer , in category: Java , 2 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