APlusGrades

Not Rated (0)

$15/per page/Negotiable

About APlusGrades

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing,Foreign Languages,Geography,Geology,Health & Medical,HR Management,Law,Management,Physics,Programming,Science,Statistics Hide all
Teaching Since: Jul 2017
Last Sign in: 364 Weeks Ago, 2 Days Ago
Questions Answered: 1850
Tutorials Posted: 1850

Education

  • Graduate in Biology and Nutrition, MBA Finance
    Florida State University
    Aug-2000 - Jul-2007

Experience

  • Ass. Relationship Manager
    Penn-Florida
    Mar-2009 - Feb-2016

Category > Programming Posted 19 Jul 2017 My Price 10.00

Create an Object Oriented Java application to model a band competition. Please make sure that your application meets all of the following...

Task: Create an Object Oriented Java application to model a band competition.

Please make sure that your application meets all of the following requirements:

  • Your program should have an App class that contains you rmain() method, and a Band class as described below.
  • Create an array of 5 Band objects in your main() method.
  • For each Band, call it'scompete()method, which will assign a random score between 0 and 20 to to that band.
  • Calculate the top 3 finishers and write their information to a "winners.txt" file.
  • Create a UML Class Diagram for your Band class

Note:

  • Your Band class must be properly encapsulated
  • You must use a for loop somewhere in your project

For the sake of simplicity, you may assume that each band has:

  • A singer
  • A guitar player
  • A bassist
  • A drummer

In addition to the name of each player in the band, your Band class should store each band's:

  • Home town
  • Annual income from record sales
  • Genre of music (e.g. rock, punk, reggae, jazz)
  • Score in the competition (an integer between 0 and 20)

Your Band class must include the following methods:

  • A constructor, which sets all of the values of each attribute.
  • A  compete() method, which creates a random value between 0 and 20 and assigns it to that band's score attribute.
  • A getInfo() method, which returns all of the information about that band

Your App class must calculate the top 3 finishers (i.e. bands with the highest score attribute), and write all of their information to a file.

 

Note: You do not need to use the Scanner class to input information about the bands from the user.  You may hard code all of this information in your main() method, but you should not hard code any band information (names, etc.) in your Band class itself.

Answers

Not Rated (0)
Status NEW Posted 19 Jul 2017 09:07 AM My Price 10.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â-----------  -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I

Not Rated(0)