3
I need you to help me understand the object programming part.
I needed to pass a value that was not inside the test object to know what was the choice of the utility. But once again I’m a beginner in objects.
As I have to call in my main activity to receive the choice ?
public class organizadist {
public organizadist()
{
}
public teste[] inicializa(teste[] objecto) {
// o que eu queria receber
if (escolha==1){
// faz alguma coisa
}
if (escolha==2){
//faz outra coisa
}
public static class teste {
public int ola;
}
}
I don’t think it’s working for the tests I did here later I’ll come back with more info
– Tiago Coelho