/lonelyTwitter

Lonely Twitter demo for CSCI 301

Primary LanguageJava

lonelyTwitter

Lonely Twitter demo for CSCI 301

Add three new model classes to LonelyTwitter: the first should be an abstract base class which represents the current mood. The second and third should be non-abstract classes which represent different moods and inherit from the ABC. Each mood should have a date and getters and setters to access the date. A constructor which sets the date to a default and a constructor which takes a date as an argument should be provided. Encapuslation should be followed. Each mood should also have a mood-dependent format method which returns a string representing the mood. Finally, add a way for each tweet to have a list of moods.

Your new code should have examples of: classes, methods, attributes, access modifiers, encapsulation, constructors, inheritance, polymorphism, abstract base classes, and generic types.

Please submit a link to your modified version of LonelyTwitter!