0
Hello,
There is possibility of having the class Object you instanced in the instantiated class?
Ex.:
(Incorrect syntax, just an assumption)
public class Classe2 { // Metodos e vetores da classe }
Instance of Class2 in Class1 with the object:
public class Classe1 {
public static void main(Object classe){
Classe2 classe = new Classe2(Classe1); // Aqui passando o object da classe como parâmetro.
}
}
In the Class2 I need the return methods of Class1, need this at the time of the Class1.
That’s right, two ways to create the class object, thank you very much!
– Luiz Ricardo Cardoso