CS230 Pre-lab 2

Pre-lab 2

Defining your own classes in Java
 

Work on these tasks before coming to lab this week:

  1. Task 1: Step 1 (Animal class)
  2. Task 1: Step 2 (Animal class constructor)
  3. Task 1: Step 3 (main() method in Animal class