...
/Challenge 1: Implement an Abstract Method in a Base Class
Challenge 1: Implement an Abstract Method in a Base Class
Can you implement an abstract method of a base class? A solution is placed in the solution section to help you, but we would suggest that you try to solve it on your own first.
We'll cover the following...
Problem Statement
We have already implemented a Book
class which has an abstract method, GetDetails()
, a parameterized constructor, and three private fields having their respective properties with get
accessors defined:
_name
with the property,Name
_author