Class Novel

java.lang.Object
  extended by Book
      extended by Fiction
          extended by Novel
All Implemented Interfaces:
java.lang.Comparable

public class Novel
extends Fiction


Field Summary
private  int sequels
           
 
Fields inherited from class Fiction
mainCharacter
 
Fields inherited from class Book
pages, value
 
Constructor Summary
Novel()
           
Novel(java.lang.String theAuthor, java.lang.String theTitle, int thePages, java.lang.Double theValue, java.lang.String theMainCharacter, int sqls)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class Fiction
compareTo, getMainCharacter, setMainCharacter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sequels

private int sequels
Constructor Detail

Novel

public Novel()

Novel

public Novel(java.lang.String theAuthor,
             java.lang.String theTitle,
             int thePages,
             java.lang.Double theValue,
             java.lang.String theMainCharacter,
             int sqls)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Fiction