it 145

profilejay2020

suppose to be in a java format like this




 /*

 * Use 'public' modifier on the RescueAnimal java class 

   so it is accessible to the entire application. 

 */

public class RescueAnimal {


/*

* These class variables are private so they can only be accessed in this method

*/

private String name;

private String type;

private String gender;

private int age;

private float weight;

private Date acquisitionDate;

private Date statusDate;

private String acquisitionSource;

private Boolean reserved;


private String trainingLocation;

private Date trainingStart;

private Date trainingEnd;

private String trainingStatus;


private String inServiceCountry;

private String inServiceCity;

private String inServiceAgency;

private String inServicePOC;

    • 4 years ago
    • 20
    Answer(0)