I have 2 arrays, one type String and one type Int. I usedHashMap to map the values of 2 arrays. Then, I sorted type Intarray . Finally, I need to print the String value follow the sortedtype Int array. However, it seems I can’t use array as HashMap key.Is there anyway to solve this? Any help with detail is appreciated.Thank you!
p.s: I only want to print first 30 pair values. It explains forline if(j<30)
![public void mapping(String[] A, int[] B) for(int i-e; 1A,length; 1++) map.put (A[i], B[i] ) public void print(String[] A, int](https://media.cheggcdn.com/media%2Fadf%2Fadfdb1e4-8022-4081-a318-427912297300%2FphpKdnX0X.png)
public void mapping(String[] A, int[]
PayPal Gateway not configured
PayPal Gateway not configured