-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.java
More file actions
27 lines (17 loc) · 708 Bytes
/
Copy pathApp.java
File metadata and controls
27 lines (17 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.paulosa.aulinhadagalera;
public class App {
public static void main(String[] args) {
Uchiha sasuke = new Uchiha("Sasuke Uchiha", 33, "Folha", "Renegado", 1.80);
sasuke.correr();
sasuke.sharinganAtivado();
System.out.println("------------------------");
Uzumaki naruto = new Uzumaki("Naruto Uzumaki", 32, "Folha", "Hokage", 1.82);
naruto.correr();
System.out.println("---------------------");
Ninja asuma = new Ninja("Asuma", 50, "Folha", "jounin", 1.80);
asuma.correr();
System.out.println("---------------------------");
Uzumaki kurenai = new Uzumaki();
kurenai.setAldeia("Folha");
}
}