Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date o
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date o
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.