To call a static method you have to use the classes name before it.

Rational.negate();

If that doesnt fix your problem, could you repost the class your main method is in? It is hard to test...