tips.casting
Class Apple

java.lang.Object
  extended bytips.casting.Fruit
      extended bytips.casting.Apple

class Apple
extends Fruit


Field Summary
protected  int numSeeds
           
 
Constructor Summary
Apple()
          Creates a new instance of Apple
 
Method Summary
(package private)  int getNumSeeds()
          Return the number of seeds in this piece of fruit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numSeeds

protected int numSeeds
Constructor Detail

Apple

public Apple()
Creates a new instance of Apple

Method Detail

getNumSeeds

int getNumSeeds()
Return the number of seeds in this piece of fruit