Everything can be sorted. Even aliens coming from random directions. The reason is that you can define, who is smaller and who is grater.
Type: Posts; User: angstrem
Everything can be sorted. Even aliens coming from random directions. The reason is that you can define, who is smaller and who is grater.
Yes, exactly.
By other questions you mean how to display array at the textField? Well, there's a useful class called java.util.Arrays, if you search over it, you'll find some static methods to...
You have toString method in your Rational class. Hence, you can roughly the same way as you act with ints. The only difference is that you invoke toString on the corresponding instance, not the whole...