In my Android application, I used hash maps in many situations. And I was asked to use sparse arrays regarding application performance. So how does a sparse array differ from hashmap in java and what are the advantages of a sparse array over hashmap . Thanks.
source
share