-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPokeDriver.java
More file actions
22 lines (19 loc) · 865 Bytes
/
PokeDriver.java
File metadata and controls
22 lines (19 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
public class PokeDriver {
public static void main(String[] args) {
PokeBag pokeBag = new PokeBag();
pokeBag.add(new Pokemon("마그마", 1024));
pokeBag.add(new Pokemon("마그마그", 215));
pokeBag.add(new Pokemon("마릴", 816));
pokeBag.add(new Pokemon("마그마그", 136));
pokeBag.add(new Pokemon("라프라스", 1822));
pokeBag.add(new Pokemon("마릴", 215));
pokeBag.add(new Pokemon("마릴", 185));
pokeBag.add(new Pokemon("마릴", 110));
pokeBag.add(new Pokemon("니드킹", 1709));
pokeBag.add(new Pokemon("마릴", 39));
pokeBag.add(new Pokemon("마자용", 12));
System.out.println(pokeBag.getStrongest("마릴"));
System.out.println(pokeBag.getStrongest());
System.out.println(pokeBag.getStrongest("피카츄"));
}
}