Question: JAVA PLEASE , MY SOLUTION IS WRONG . PLEASE FIX . THANKS What you need to do: 1.) Write a class called Cat with a

JAVA PLEASE , MY SOLUTION IS WRONG . PLEASE FIX . THANKSJAVA PLEASE , MY SOLUTION IS WRONG . PLEASE FIX . THANKS

What you need to do: 1.) Write a class called Cat with a default no arqument constructor that implements the interface. (Do not use the public keyword when defining this class.) 2.) You do not need to create any attributes for this class 3.) You will need to make the class implement the interface and write a public implementation for the method defined in the interface 4.) The implementation of the public method should create a String that indicates how the pet gets attention For the Cat class that message is: Wrow!!! 5.) The int parameter passed into the method should be used to create the message the number of times indicated by the parameter and should include a new line character after each message For example: If the method is called on a Cat object and the message is Wrow!!! If the method is passed a value of 4 then the method should return Wrow!!! Wrow!!! Wrow!!! Wrow!!! SUBMIT | 4 of 4: 2017-10-06 01:12:40w 1 class Cat implements AttentionSeeking

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!