Posts by Gabriel Soares • 1 point
2 posts
-
-1
votes3
answers373
viewsA: Array overriding elements
In the method registraReclamacao there is that line: Atributos atributos = new Atributos(); That is. Whenever you go through it, a new Attributes object will be created. For this reason, only the…
-
0
votes3
answers373
viewsQ: Array overriding elements
I did the method registraReclamacao() in that class and every time I call him on main, he overwrites and only stores the last record. package testelp2; import java.text.SimpleDateFormat; import…