convert ArrayList to HashMap using stream 1)I have ArrayList 2)Here Employee class has EmpId and DepId. 3)I have to store in HashMap where key will be EmpId and value will be DepId.
Asked
Active
Viewed 28 times