Sort the employee array list with duplicates - Java

1. Implement Comparable and override toCompare method with sorting criteria fields of Employee class.
2. Then sort using Collections.sort(employee list).

Comments

Popular posts from this blog

EJB - Stateful vs Stateless

Inversion of Control vs Dependency Injection