Hi and please help me again. I have this like in docs:
cities
\
- id_number
\
- "population": 860000
\
- "name": San Francisco
And I have POJO class.
One:
public class City {
public String name;
public int population; ** int **
public City() {}
}
Two:
public class City {
public String name;
public Integer population; ** Integer **
public City() {}
}
Which is best to use int or Integer in my POJO class?