public class NonFiction extends Book
Modifier and Type | Field and Description |
---|---|
protected String |
topic
The topic of the book, or "TBD" if a topic has not
been set.
|
Constructor and Description |
---|
NonFiction()
Creates a NonFiction with default values.
|
NonFiction(String theAuthor,
String theTitle,
int thePages,
Double theValue) |
NonFiction(String theAuthor,
String theTitle,
int thePages,
Double theValue,
String theTopic)
Creates a NonFiction.
|
protected String topic