0
Here’s what I’ve been doing
public void valorConta(){
int i=0;
float totalConta=0;
for(i=0;i<listaligacoes.length;i++){
totalConta+=(listaligacoes[i].calcularDuracao()*listaligacoes[i].getvalor());
}
}
I have a variable link listing of the Type Link(class) I would like to in it, call the methods calculate duration and value, to set the value of the account in this current class. I use the bluej.
Just to be clear, I’m a beginner, there’s a lot of term I don’t understand yet.
– Marcela Braga