java.lang.ObjectLibraryItem
PrintedItem
Book
public class Book
Constructor Summary | |
---|---|
Book()
Constructor for objects of class Book |
Method Summary | |
---|---|
void |
printDetails()
|
void |
readItemData(java.util.Scanner detailScanner)
|
Methods inherited from class PrintedItem |
---|
getNoOfPages, getPublisher, setNoOfPages, setPublisher |
Methods inherited from class LibraryItem |
---|
getCost, getItemCode, getOnLoan, getTimesBorrowed, getTitle, setCost, setItemCode, setOnLoan, setTimesBorrowed, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Book()
Method Detail |
---|
public void printDetails()
printDetails
in class LibraryItem
public void readItemData(java.util.Scanner detailScanner)
readItemData
in class PrintedItem