Page 1 of 1

Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date o

Posted: Wed Mar 30, 2022 9:24 am
by answerhappygod
Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date of birth, gender, location and initial number of livestock (cattle) turned in. Include a constructor that initializes each field to appropriate default values. Also include methods to set and get each of the fields.