Skip to content

Commit 8dc8b10

Browse files
authored
Create Vehicle.java - Exercício 1
0 parents  commit 8dc8b10

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Vehicle.java - Exercício 1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package javaaula;
2+
3+
public class Vehicle {
4+
5+
public static void main(String[] args) {
6+
7+
}
8+
9+
public int wheels() {
10+
return 4;
11+
12+
}
13+
14+
public void go() {
15+
System.out.println("zoom!");
16+
}
17+
18+
}

0 commit comments

Comments
 (0)