Course Solutions Uncategorized (Solved) : Need Help Java Question 1 Hour Please Java Using Files Class Assignment Add Two Additional Q34667708 . . . .

(Solved) : Need Help Java Question 1 Hour Please Java Using Files Class Assignment Add Two Additional Q34667708 . . . .

 

Need help with this Java question in 1 hourplease

JAVA

Using the files from the in-class assignment add two additionalanimals of your choice. For each animal add two additional methodsappropriate to your particular animal.

As the majority of the code for this program exists you will notneed an algorithm. Use the 3 java classes below. Thank you

//Animal.java

public class Animal {

   public Animal() {

   System.out.println(“A new animal has beencreated!”);

   }

   public void sleep() {

   System.out.println(“An animal sleeps…”);

   }

     
   public void eat() {

   System.out.println(“An animal eats…”);

   }

   }

//Cat.java

public class Cat extends Animal {

   public Cat() {

   super();

   System.out.println(“A new cat has beencreated!”);

   }

   @Override

  

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post