Search:

Type: Posts; User: angstrem

Search: Search took 0.08 seconds.

  1. Replies
    23
    Views
    1,744

    Re: Working with methods and constructors

    Everything can be sorted. Even aliens coming from random directions. The reason is that you can define, who is smaller and who is grater.
  2. Replies
    23
    Views
    1,744

    Re: Working with methods and constructors

    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...
  3. Replies
    23
    Views
    1,744

    Re: Working with methods and constructors

    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...
Results 1 to 3 of 3