public class Book extends Object
Modifier and Type | Field and Description |
---|---|
private String |
author
The author's name, or "none" if the author has not
been set.
|
protected int |
pages
The number of pages in the book.
|
private String |
title
The book's title, or "no title" if a title has not
been set.
|
protected Double |
value
The book's value in arbitrary units.
|
private String author
private String title
protected int pages
protected Double value