Inheritance in Java / How to Tutorial

preview_player
Показать описание
inheritance in java,inheritance java,inheritance in java tutorial,how to use inheritance in java,inheritance,java inheritance tutorial,inheritance java thenewboston,java inheritance explained,java inheritance,java inheritance example,java inheritance example code,object oriented programming in java,object oriented programming,programming,java,example,tutorial,superclass,child class,parent class,subclass In this assignment you will be using inheritance. Codes without the use of inheritance will get no points.
Read through the document for the specification of each method.
A program shell has been provided. You can create your own and not use the provided one.
Turn in one java file containing all your classes. Your work will not be graded if multiple files are submitted
Feel free to add more functionalities to this app
you will be implementing three Java classes: Document class, Email class and the Driver class. An Email is a Document with more specific information such as the Sender, the recipient, CC, Subject and the date.
In this assignment you will be practicing the concepts of inheritance, extending a class, subclass,
superclass. Also, you will be practicing calling the methods from the super class in the subclass.
Problem
Create an Email application with the following functionality
 Create an email and send it to the recipient and/or CC some other recipients
 Forward an email that was sent previously to some recipients
 Modify the attributes of the email that has been created but has not been sent yet. Note that an
email that has been sent out cannot be modified. Attributes that may be modified are
o sender
o subject
o recipient
o content
Creativity
Feel free to be creative to add more functionality to this app. As long as your code satisfies all the
requirements, you can implement the code based on your own logic.
Implementation
An Email is a document with more specific information such as sender, subject, recipient, and date.
Therefore, we should implement the following three classes.
1. Document class (superclass, general class)
2. Email class (subclass, more specialized class)
3. Driver/tester class
Рекомендации по теме
Комментарии
Автор

can you do : 4.18 Password modifier JAVA program?

dhavalvyas
visit shbcf.ru