Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please do this in java programming... thanks Create a team class with a get and set method with Name:String, Rate:Int, GoalAgainst:Int ,Owner:string and points:Double. Create

please do this in java programming... thanks

Create a team class with a get and set method with Name:String, Rate:Int, GoalAgainst:Int ,Owner:string and points:Double. Create a enum of the team (Chenni Super Kings , Mumbhai Indians,Delhi Daredevils, Sunrisers Hyderabad)

Create a Place class with a get and set Method of Stadium: String , city:String ,Country:String , TimeSlot:date

Create a player class with a get and set Method of Name:string, Batting:Int, Bowling: int , rating :double

Defined a typed interface of stage with a getwinner method that specifies the stage operation

Create a semifinal class that implement the stage interface . s1:team,S2:Team;s3:Team;s4:Team and with the getWinner: (Name):Team[]

Create a Finals class that implement the stage interface: F1:team,F2:Team and with the GetWinner(Name):team

Create a Match Driver that can test the match with PlayMatch(t1:Team;T2:team) Team

Create a iPL Driver that can Demonstrate the functionality of your concrete classes and the additional static methods with a suite of appropriate unit tests that show the generic static methods working for both types of stage.

The Output should go as this :

Welcome To IPL SemiFinal

This the Team:

CSK Chenni Super Kings

MI Mumbhai Indians

DD Delhi Daredevils

SH Sunrisers Hyderabad

Please Choose your team:

CSK (Press 1)

MI (Press 2)

DD(Press 3)

SH(press4)

Your team vs (Randomly selected)

Your Team : 190

Randomly Selected: 111

Congratulation Your in the Final!

Else

Sorry Your out of the finals!

Welcome To IPL Finals

This the Team:

CSK Chenni Super Kings

SH Sunrisers Hyderabad

Please Choose your team:

CSK (Press 1)

SH(press2)

Your team vs (Randomly selected)

Your Team : 110

Randomly Selected: 102

Congratulation You won

Else

Sorry You lost!!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

ISBN: 321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

=+Are there shop stewards?

Answered: 1 week ago