// You may need to import, depending on your I/O methods class fraction { //what data items must be stored? Read the program requirements to find out! public fraction( ) // Constructor -- what parameters should it have? { } public float convert_to_float() { } public boolean is_legal() { } public void print() // Alternatively, wrote a toString method that // returns a string containing the object data { } } // end class fraction public class prog2 { public static void main (String[] args) { } // end main // You may need to include I/O methods here } //end prog2