Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!