I have a ruby backround and im new to java i wrote a basic programm but somehow i get a error i cant fix! My code:
import java.util.ArrayList; public class Musi
files[i] is used for arrays. While working with lists you need to use indexing. Try files.get(i)