Posts by Programador com problema • 25 points
3 posts
-
1
votes1
answer403
viewsQ: Doubt about changing data in java arrays
I have an array of the Person class called vector. I already populated the vector with instances of named persons of p1. My question is how to change the value of p1 when you’re inside the array:…
-
1
votes1
answer84
viewsQ: Question about filling arrays and functions inside arrays
insira o código aquiArrayList<Player> players = new ArrayList<Player>(); for(contador=0;contador<x;contador++){ Player p1 = new Player(); p1.setId(contador); p1.setSaldo(valorinteger…
-
0
votes1
answer112
viewsQ: Error while converting types
I am doing a job for the college that consists of creating an immovable array based on some rules that are provided by txt. The code gives error and do not know what is occurring. A detail that when…