Inheritance

Exercise: Implement an abstract class

Goal

  1. Create a class named SpaceStation that is abstract
  2. On that abstract class, add a abstract method called FireLaser
  3. Create a derived class called DeathStar that implements the FireLaser method to write "Pew pew" to the Console followed by a new line
Page 13 of 18