Question: Write the implementation for the below UML then Answer the next questions : Package Documents Demothis authors: String Date : String + DocID: int +

Write the implementation for the below UML then Answer the next questions : Package Documents Demothis authors: String Date : String + DocID: int + main(String[] args) : static void + Addauthors(name, ID):void + getauthors: String + getDate():String Book Email + Title: String + subject: String - to: String[] + Print Title( title) : void + Getmailinfo( Subject, To): String +getTo(): String After you create the implementation, answer the below questions: 1. modify the code to implement method overload 2. modify the code to implement method overridi 3. modify any class to declare a protected vari 4. which classes require to implement encapsula 5. what is the inheritance type applied in the 6. re-write the code to apply another type, of i 7. use super keyword to access parent class att
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
