1
I have a class Usuario you will have a list of the class Pastas, and this class will have a list of the class Questão.
public class Usuario{
String nome;
ArrayList< Pasta > listaPasta;
}
My problem is not knowing if that placement is right, because in my head, I want to create the class Usuario and have the list created, or if I have to create on the outside after the creation of the class and give a SetListaPasta().
Use formatting for code
– Sveen
Every user created already has some folder?
– Dherik
Yes dherik, that would be the idea. And I managed to reach it.
– Herrison Nascimento