Java

Moderators: zibadian
Number of threads: 7836
Number of posts: 18235

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
name field observer and display methods Posted by jackn500 on 30 Oct 2012 at 3:16 AM
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");
}
}



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.