Code Project

I need a solution to this question:

Create a class named TennisGame that holds data about a single tennis game. The class has six fields: the names of the two players, the integer final scores for the players, and the String values of the final scores. Include a get method for each of the six fields. Also include a set method that accepts two players� names, and another set method that accepts the two integer final score values. The integer final score for a player is the number of points the player won during the game; this value should be in the range of 0 through 4. If either of the set method parameters for a score is not in the range of 0 through 4, assign 0 to both scores and assign �error� to the String scores. If both players� score parameters are 4, assign 0 to both scores and �error� to the String scores. The String score values are set by the method that sets the integer score values. The String final score for each player contains the traditional names for points in tennis: love, 15, 30, 40, or game, respectively, for the values 0 through 4. Create a subclass named DoublesTennisGame that includes two additional fields for the names of the first two players� partners. Include get methods for the names. Override the parent class setNames() method to accept the names of all four players. Write an application named DemoTennisGames that instantiates several objects of each of these classes. Demonstrate that all the methods assign correct values. Save the files as [url removed, login to view], [url removed, login to view], and

Skills: Java

See more: first class objects in java, need two question game, application named, java project classes, java score code, java data project, tennis points, code player scores java, tennis game code, java class project, java final project, save data java project, java project names, tennis data, score java, assign project number, save game scores java, game class player java, final project java, java save game score, java code game, small project code, project code admission test system asp, php project code igniter, free project code vbnet admission system university

About the Employer:
( 0 reviews ) United States

Project ID: #7119487

36 freelancers are bidding on average $22 for this job


A proposal has not yet been provided

$20 USD in 1 day
(157 Reviews)

It looks as easy thing, can be completed in few hours .................................................

$20 USD in 1 day
(604 Reviews)

hi mate this is Asad, i have a lot of experience in java programming,would surely help you out,cheers:)

$35 USD in 1 day
(80 Reviews)

HI Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif

$20 USD in 0 days
(248 Reviews)

Hello, I am Oracle certified professional java programmer and have have [login to view URL], I am ready to help you now, thanks and let me know Note : It is 11PM here, going to sleep, if you can please wait 7~8 hours, thanks

$25 USD in 0 days
(218 Reviews)

Hi I have 5+ years experience in Java. I have completed more than 100 projects so far. Please send me a message so that we can discuss once. Thanks

$25 USD in 0 days
(144 Reviews)

Hi sir, thank you for your project. This project is easy for me. I could help you to do it quickly. Please contact me via PMB. Thanks

$20 USD in 1 day
(19 Reviews)

Hello, I have 6 years experience in java. I can do this assignment. Please message me for further discussion.

$20 USD in 0 days
(78 Reviews)

Hello boss, We are interested in your project. We have expert java developers. Please check our completed projects. Sincerely bdlions

$19 USD in 1 day
(18 Reviews)

Hi there, I've already read and understood the project description. Would you please initiate a chat for further discussion? So really hope to have chance to work with you, thanks for your consideration! Regards.

$20 USD in 0 days
(33 Reviews)

Im good in Java...

$25 USD in 2 days
(9 Reviews)

Hello, I've been working wit Java for three years now and i think that i could help you with your project! Let's get started. PM for more details. Regards, Vlad Ginju

$35 USD in 0 days
(13 Reviews)

I have a lot of experience working with Java and Desktop applications and I feel I would be more than able to complete a project like this. You were very clear in your project description, and I would follow your direc More

$15 USD in 1 day
(10 Reviews)

Greetings, I am interested in doing this job. I am BS-CS graduate and knows Java programming as well, because of which I can do this task with ease. Have worked on Eclipse, Net beans and others. Please do give me a More

$17 USD in 1 day
(5 Reviews)

hii.. ready to start.. please pm me for more details.. thank you

$25 USD in 1 day
(5 Reviews)

Hello! My name is Peter. I recently moved across the US to get my start as a programmer. I would have no problem completing this assignment. I have quite a bit of experience with java and I think you know the work is p More

$30 USD in 1 day
(1 Review)

Hi there. I am Sun Certified Java Professional (scored 100% in this exam) and Oracle Certified Expert Java EE Web Component Developer (scored 96%). I have over 4.5 years of industry experience in developing application More

$12 USD in 1 day
(1 Review)

I have several years' experience in java programming, and I feel that this will be a simple enough job.

$25 USD in 1 day
(0 Reviews)

I am capable of performing the task quickly and cheaply. I already have a basic outline of the project.

$10 USD in 1 day
(0 Reviews)

I am a computer science engineer with good experience in java i can finish work with minimum cost in few days

$25 USD in 1 day
(0 Reviews)