I have asked for a question that is we have a class named Student that has some fields like name,age and date of birth.
i have to write a programm that can sort the list of students on the basis of his name,age and date of birth.
if name is same than on the basis of age, if name and age are same then on the basis of date of birth.
could anyone pls help me by giving the code for that?
Thanks for help in advance.