Stage 3: Another Abstract class
Stage 3: Another Abstract class
Highlights:
Animal.cs
Bird.cs
namespace MyApplication.Animals;
public abstract class Bird(string name) : Animal(name)
{
//we dont know how the climb actly looks
public void Fly()
{
Console.WriteLine($"{Name} is Flying!");
}
}Cat.cs
Dog.cs
Parrot.cs
Program.cs
Last updated