Java Create a class named Horse that contains data fields

profileadelen
 (Not rated)
 (Not rated)
Chat

In Java Create a class named Horse that contains data fields

in Java Create a class named Horse that contains data fields for the name, color, and birth year. Include get and set methods for these field. Next, create a subclass named RaceHorse, which contains and addtional field that holds the number of reaces in which the horse has competed and addtional methods to get and set the new field. Write an application that demonstrates using objects of each class. Save the files as Horse.java, RaceHorse.java, and DemoHorse.java

    • 11 years ago
    the answer 100 % correct answer. in java
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      src.zip