Task: Dog Meeting
Our task is as follows:
Create 3 dogs
First should be named “Sharo”, second – “Rex”
and the last – left without name
Add all dogs in an array
Iterate through the array elements and ask
each dog to bark
Note:
Use the Dog class from the previous example!