Question: the character class and the tool class have an aggregation relationship The character class can be batman and the tool class can be his bat-grapple

the character class and the tool class have an aggregation relationship

The character class can be batman and the tool class can be his bat-grapple

the character class and the tool class have an aggregation relationship The

Problem: Create a fictional character class/object that uses a tool class/object. Create a test file, with the identifier, prog3.java, that instantiates the character that uses the weapon/tool; it must state who the character is, what the tool is, and creates a scenario (like in a comic book or similar) where the fictional character interacts with the tool. Your character should have at least 3 states, and at least 2 behaviors, in addition to the constructors, mutators and accessors. The name of the class that is the fictional character must be the name of the fictional character (a specific fictional character). The name of the class that is the weapon/tool must be the name of the specific weapon/tool. Your fictional character uses the weapon/tool (make sure to use the correct class relationship between the two objects)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!