1) Write an abstract class a ball. You must include 2 variables common to all balls, and at least one abstract method. T
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1) Write an abstract class a ball. You must include 2 variables common to all balls, and at least one abstract method. T
1) Write an abstract class a ball. You must include 2variables common to all balls, and at least one abstract method.Then, create two concrete subclasses of ball that define a specifictype of ball and override the abstract method.