Posts by Daniel Genaro • 19 points
2 posts
-
1
votes0
answers228
viewsQ: assign a list object as an attribute of another class
I am importing data through txt file, and I have enclosed in this class that has two attributes of type object, supplier and product. When I read the txt file, I pass as parameter only the code of…
javaasked Daniel Genaro 19 -
0
votes1
answer392
viewsQ: Checking the existence of an object in an arraylist
I have a class PessoaFisica and a class PessoaJuridica, both inherit from the class Cliente, whose attribute to identify is the code. I am creating a method to check if the element already exists in…