public class ShortStirrupRider implements Rider1, Comparable <Rider1>
{
public ShortStirrupRider(String nameofRider, String typeofPony,double heightofFence,double overallScore)
{
Rider = nameofRider;
Pony = typeofPony;
Fence = heightofFence;
Score = overallScore;
}
public int compareTo(Object Rider1)
{
Rider1
public String toString(){
String output = "Name: " + nameofRider + "\n" +
"Type of Pony: " + typeofPony +"%\n" +
"Fence Height:" + heightofFence + "\n" +
"Overall Score: " + overallScore + "\n";
return output;
}
}
public class Rider1 implements ShortStirrupRider, LongStirrupRider
{
public int setScore();
{
}
public int getScore();
{
}
public int setHeight();
{
double height;
private static final int inch = 4;
private static final int hand = 1;
double equineHeight;
}
public String getHeight();
{
}
}
This post has been edited by LiveFlow: 28 March 2010 - 11:57 AM

New Topic/Question
Reply




MultiQuote








|