name field observer and display methods

Please Help im new to java only started 3 wks ago! I have to Design a class which represents a Sports Person It is to have a name field and observer and display methods.
And design an Athlete subclass of the sports person class. it is to have the following extra fields, event which indicates that athletes event, a field representing their Personal Best and the time for their latest run.

This is all i have

public class SportsPerson

{
//main method
public static void main (String [] args)
{
system.out.println("what Athlete do you waant to see");
}
}
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories