looking for a solution to the following sample question.... new to this site so please forgive me if this isnt the correct way to ask a question. Grateful for any help. uml diagram
The following UML diagram shows a suite of classes in an application:
link to uml diagram:
You are required to implement the design shown in the UML diagram as a set of Java classes. Please note the following: • Use the package ie.gmti.sw for all classes. • All classes should over-ride their finalize() and toString() methods to output their Object ID and class name. • The class TypeatorContainer should enforce set behavior on the fully encapsulated instances of Typeator, i.e. it should maintain a unique collection of Typeator instances. • The class DefaultTypeator should have instance variables for name and date (constructor parameters). • The class TypeatorRunner should instantiate and exercise all the methods of TypeatorContainer and TypeatorFactory
Aucun commentaire:
Enregistrer un commentaire