I have a class Usuario
that will have a list of class Pastas
, and this class will have a list of class Questão
.
public class Usuario{
String nome;
ArrayList< Pasta > listaPasta;
}
My problem is not knowing if this placement is right, because in my head, I want to create the Usuario
class and have the list created, or if I have to create it out after creating the class and giving a SetListaPasta()
.