java programming challenge Number 1

define a class for rational numbers. represent rational numbers as two values of the type int, one for the numerator and one for the denominator your class should have two instance variables of type int call the class rational include a constructor with two arguments that can be used to set the instance variables of an object to any values. also include a constructor that has only a single parameter of type int; call this single parameter whole Number/1. also include a no-argument constructor that initializes an object to 0(that is, to 0/1). Note that the numerator, the denominator or both my contain a minus sign. send me working code to sendtomejava@gmail.com and I will post who has given me the best version of this code...