This is my code
I was trying to add a Track to my Arraylist but it wont let me, is it because it not a main class? And if yes, is there a way to do it without a main class?
>Solution :
you need to write your code on a function, it doesn’t need to be a main. maybe on the constructor ?
