There are one interface, three abstract classes and one class in a package p1 as described below:
Question:
There are one interface, three abstract classes and one class in a package p1 as described below:
*Interface I defines a method "public double mI( );".
*Abstract class S is a subclass of I, In S, one field "public static int v1;" is declared, and a method "protected boolean mS(int i)" is implemented.
*Abstract class C1 is a subclass of S. In C1, there is a field "private Book b;" and an implemented method "public static double mC1(String s)".
*Abstract class C2 is also a subclass of S. and defines an abstract method "int mC2()" in package visibility.
*Class C3 extends C2 and defines a field "public Integer k".
Part a = List the method(s) C3 has to implement in order to prevent compile errors.
Part B = Show the UML class diagram, including the fields, methods, visibility, multiplicity, and relationships (including dependency).
Where would I begin on the UML diagram for Part B?
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall