CMPS 258 – WEEK 6 ASSIGNMENT solved

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (5 votes)

You are provided with a main.cpp file that uses multiple inheritance in C++ to define a class
ScannerPrinter as a subclass of two classes Scanner and Printer. Re-implement these classes
in Java, but without using Java’s single inheritance. You may only use composition and interfaces. You are
provided with a Main.java file to implement your code in. The file includes a test case that is expected
to work for a correct solution. Do not modify the test case.
Assessment
Solutions should be:
 Correct
 In good style, including indentation and line breaks
 Written using features discussed in class
Submission Instructions
Submit your Main.java file via Moodle. Do not submit any other files or compressed folders.