tips.casting
Class Orange

java.lang.Object
  extended bytips.casting.Fruit
      extended bytips.casting.Citrus
          extended bytips.casting.Orange
All Implemented Interfaces:
Squeezable

class Orange
extends Citrus


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

Field Detail

m_nSourness

int m_nSourness

SQUASHY

public static final int SQUASHY
See Also:
Constant Field Values

numSeeds

protected int numSeeds
Constructor Detail

Orange

public Orange()
Creates a new instance of Orange

Method Detail

getSourness

public int getSourness()
return how sour the fruit is


getNumSeeds

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