b . array field to an array of size ?
he class must have 3 fields:
fractionField of type Fraction
(class from the first problem)
arrayField
-
b . array field to an array of size ? filled with Us. andC. double Field to O2. Constructor that takes a fraction ( as an object ) . an array , and a double asparameters and sets all ; fields to the given Values . Make sure to create DEEPCOPIES Of all non - primitive parameters when setting the new object fields*3. Copy constructor . Make sure to create DEEP COPIES Of all non - primitive fieldswhen setting the new object fields .4 .Three accessor methods for all ] fields . Make sure to create DEEP COPIES Of allnon - primitive fields and return a reference to a copy not to the original field.5 .Three mutator methods for all 3 fields . Make sure to create DEEP COPIES Of alltoll - primitive parameters when changing the value of the fields .5. to String( ) method that creates and returns a string containing all ? fields in textformat . like*Fraction. I and 1/24; ^`. (1, 0,]]. Double: 3. 4}*^LEE tests provided in Aggregation Demo. Jara . Please make sure all tests Inn and produceEXPECTEd results .
Show more