Class TextBook
- java.lang.Object
-
- TextBook
-
public class TextBook extends Object
Write a description of class TextBook here.- Version:
- (a version number or a date)
- Author:
- (your name)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseBook()voiddescribe()StringgetTitle()booleanisFinished()voidreadNextChapter()
-
-
-
Constructor Detail
-
TextBook
public TextBook(String title, int chapters)
Constructor for objects of class TextBook
-
-
Method Detail
-
getTitle
public String getTitle()
-
readNextChapter
public void readNextChapter()
-
isFinished
public boolean isFinished()
-
closeBook
public void closeBook()
-
describe
public void describe()
-
-