Posts by lcrmj • 11 points
2 posts
-
0
votes1
answer43
viewsA: Difficulty in array
The Tank class should represent the attributes and behaviors of one and only one tank. In that part of the code: public int tanques[][] = new int [2][valor]; {...} there are two problems: 1. The…
-
1
votes1
answer96
viewsA: Values with different types Gson - Java
You can use a Map for this. public class Event { ... private final List<Map<String, Object>> custom_data; ... } Parse: EventWrapper events = new…