example.fruit
Class Fruit

java.lang.Object
  extended by example.fruit.Fruit
Direct Known Subclasses:
Apple, Banana

public abstract class Fruit
extends Object


Constructor Summary
Fruit()
           
 
Method Summary
 boolean isRipe()
           
 void ripen(double amount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fruit

public Fruit()
Method Detail

ripen

public void ripen(double amount)

isRipe

public boolean isRipe()


Copyright © 2010. All Rights Reserved.