Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
acutally above code is sorting employee class objects based on EmpID or based on EmpName but my requirement is if know the comparator (on which basis sorting should occur) @ runtime how can we achieve that :)[code]package CollectionsOps; import java.util.Arrays; import java.util.Comparator; /** * * @author King@java */ class employee{ … |