Question: Please write code in java This is object oriented program 1st photo it has the Bird class so u should not modify it in any
History 31 ? /** * Bird Object. 5DO NOT MODIFY THIS CLASS 6 7 public class Bird f private String color; 10 12 13 Constructor. public Bird (String colorIn) t color colorn; 15 16 17 18 19 20 21 * Prints a generic bird call. public void birdCall0 f system.out.println ("Generic Bird Sound!"); 23 24 25 26 27 Retrieves the color field. public string getcolor t 29 30 31 32 return color: Output- Module11 (run-single
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
