Question: build your code aroubd the following uml 1.1 Interface: Document( Method + HowToReadO:String Description Abstract methods 1.2/ Class: Book 1.3/ Class: Fiction method Description *HowToRead0:String
build your code aroubd the following uml
1.1 Interface: Document(
Method
+ HowToReadO:String
Description
Abstract methods
1.2/ Class: Book
1.3/ Class: Fiction
method
Description
*HowToRead0:String Return a string that consist of "Electronic or printed"
1.3/ Class: NonFiction(1 marks)
method
Description
+HowToRead0:String Return a string that consist of "Electronic or printed"
2. write a test program that does the following:
a) Create two objects: one of Fiction and one of NonFiction (2 marks)
b) Write the method with the following header (3 marks)
Public static void PrintObj( Document v)
Call the method HowToRead () for the objects created in (a)
in java please
Question 1: Considering the following UML diagram and its detaus to w
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
