Originally posted by Srinivasan thoyyeti:
You must be in a position to correct those little errors,like Employee must be serializable. Just i want to show you how comparator exception is thrown.
Nitesh Thanks for your corrections. Now i am also clear why exactly it has to be serializable.