Question
The Fraction Lab application may be compiled and executed as is. It imports and uses a fully operational implementation of Fraction that is part of
The Fraction Lab application may be compiled and executed as is. It imports and uses a fully operational implementation of Fraction that is part of the foundations package. It may be compiled and launched using the batch file, Goui.bat. In the support folder in the Fraction Lab folder of the Chapter 9 notes is a file named Fraction.java. This file provides a skeletal implementation of Fraction. It compiles as is and may be used with the Fraction Lab; however, it does nothing useful. This exercise is a project to complete and test the implementation of this skeletal version of Fraction. The following steps are to be followed precisely:
a. Create a working directory for your project and copy into it the files FractionLab.java, FractionLabUI.java, and Goui.bat from the Fraction Lab folder. Also copy the skeletal implementation file, Fraction.java, from folder support into the same directory.
b. The local copy of Fraction.java now preempts the imported class foundations. Fraction, allowing the laboratory to be used for testing the new implementation.
c. Complete the details of all commands and queries in Fraction.java and verify correctness using the Fraction Lab.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started