Sale!

WEEK 6 ASSIGNMENT Multiple inheritance

$30.00

Category:
Rate this product

CMPS 258 – PROGRAMMING LANGUAGES
WEEK 6 ASSIGNMENT
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.

Reviews

There are no reviews yet.

Be the first to review “WEEK 6 ASSIGNMENT Multiple inheritance”

Your email address will not be published. Required fields are marked *

Scroll to Top