How to compare the values in both hash maps with the help of keys ? Since the keys are identical whereas values are\'nt. and return boolean result for each key comparision. like
use:
mapA.equals(mapB);
This will give back a boolean result.