Understanding of the wrapper class codeout

Assignment Help Basic Computer Science
Reference no: EM131544686

Code a class called Jukebox that has a number of functions based on your understanding of the Wrapper Class codeout we performed in class:

JukeBoxis a child to an Abstract class MusicBox that allows for a method called playSong().  In JukeBox create the inner concrete classes Platter and MP3.  Provide a private class called Music that has anArrayListof 25 songs playable for Platter and 25 songs playable for MP3.  In Jukebox create a random number generator that when a user chooses a style to be played (Platter, MP3 or Both), a random playlist of 10 song titles is produced of the 25 songs for that type.  The 10 songs on the playlist can be repeatable.Create an Interface called PlayList that implements a playList(). Those for Platter should reflect the era, MP3 as well.  Use a file or files to read in the song titles for each. (One file or two your choice)

Instantiate a Jukebox object called Wurlitzer to validate the above specifications.

Optional: If you would like to skip the HashMap Code Out I will be implementing later in the course, you can substitute a Hashmap for the ArrayList for this code out and get credit for it. 

Reference no: EM131544686

Questions Cloud

To what extent do they engage in unrelated diversification : To what extent does Apple engage in related diversification? To what extent do they engage in unrelated diversification?
Challenging aspect of using economic analysis workbook : What do you believe is the most challenging aspect of using the economic analysis workbook?
Diversity in journalism : Provide proper attribution for all sources of information included in the story - In what area did you feel most prepared
Do you think business should vertically integrate over time : Do you think business should vertically integrate over time? Should you engage in backwards vertical integration, forward vertical integration, both, neither?
Understanding of the wrapper class codeout : Code a class called Jukebox that has a number of functions based on your understanding of the Wrapper Class codeout we performed in class:
Does dale provide an informal or formal inductive argument : Are the generalizations that Dale makes accurate based upon the sample size and confidence level? Why or why not?
Significant risks associated with an it acquisition : How can you know when your team has identified all of the significant risks associated with an IT acquisition alternative? (one or two paragraphs)"
What will percentage change in operating cash flow : If output rises to 38,750 units, what will the percentage change in operating cash flow be?
What is aftertax cash flow from the sale of this asset : If the relevant tax rate is 30 percent, what is the aftertax cash flow from the sale of this asset?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd