The compareTo() method is implemented to order the variable in ascending order.
Previous Question Next Question
Your comments will be displayed only after manual approval.