Posts by Abner Silva • 7 points
1 post
-
-2
votes3
answers569
viewsA: Import a. java into another . java
In class 2, one should not have a main method but a constructor: public Pessoas(){ } In class 1, use above the class: import Pessoas;
1 post
-2
votes3
answers569
viewsIn class 2, one should not have a main method but a constructor: public Pessoas(){ } In class 1, use above the class: import Pessoas;