Question: Help Please! I am Struggling with this Java assignment any help would be greatly appreciated The birds in the table below have different abilities-running, swimming,

 Help Please! I am Struggling with this Java assignment any helpwould be greatly appreciated The birds in the table below have differentabilities-running, swimming, and flying. Each bird has a fixed set of abilitiesas listed in the table Type Key Letter Swimming Flying Running PenguinOstrich Duck Sooty Tern Loon Hummingbird Assume the following: Ability's are measured

Help Please! I am Struggling with this Java assignment

any help would be greatly appreciated

The birds in the table below have different abilities-running, swimming, and flying. Each bird has a fixed set of abilities as listed in the table Type Key Letter Swimming Flying Running Penguin Ostrich Duck Sooty Tern Loon Hummingbird Assume the following: Ability's are measured in speed (mph) for running/swimming and altitude (feet) for flying Specifications 1. Create a Java class called UsernameAssignment3 (please use this exact name) 2. Follow "CS1450 Programming Assignments Policy" 3. Design an ABSTRACT class called Bird containing the following fields and methods: a. Private Data Fields name - String for bird's name ii. i. type- String for bird's specific type (i.e. penguin, ostrich, etc.) b. Public Methods i. Getter and setter for each data field i. ABSTRACT method interestingFact() -returns string representing fact about bird 4. Design 3 INTERFACES to represent the 3 abilities a. Swimmer with a method named swim() returns swimming speed b. Runner with a method named run() returns running speed c. Flyer with a method named fly() - returns flying altitude 5. Define 6 subclasses Penguin, Ostrich, Duck, Sooty Tern, Loon, and Humming Bird a. Each subclass must extend Bird. b. Each subclass must implement ONLY the interfaces for the abilities the bird possesses. . For example: Humming Bird class only implements Flyer c. d. Bird's name and ability values are in the file For the interesting facts, use the following strings

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!