Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1.  
  2. public class Main {
  3. public static void main(String[] args) {
  4. /*
  5. Player player = new Player();
  6. player.iniciarJogador();
  7. Inimigo inimigo = new Inimigo();
  8. inimigo.iniciarInimigo();
  9. */
  10. new Main().instanceMain2();
  11. }
  12. public void instanceMain2() {
  13. new Main2().print1();
  14. }
  15. private class Main2{
  16. public void print1() {
  17. System.out.pritnln("Chamando meu método");
  18.  
  19.  
  20. }
  21.  
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement