TASK: Determine the sum of the areas of an equilateral triangle and an equilateral rectangle according to a given side length in the binary number system.
REQUIRED:
- Develop a serialized class to store the parameters and results of the calculations.
- Using aggregation, develop a class to find a solution of the problem.
- Develop a class to save and restore the state of the object using serialization and demonstrate in the dialog mode.
- Develop a class to test the correctness of the results of calculations and serialization / deserialization.