Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA. Produce your own version of a Java-based music player called MyPod! The focus will be on the design and implementation of the MENU system

JAVA. Produce your own version of a Java-based music player called MyPod! The focus will be on the design and implementation of the MENU system and SONG objects with a varied feature set.

The MyPod will store Songs (, <artists> , and other details) into a PLAYLIST. It should have common features like adding a new SONG, removing SONGS, sorting the list by various parameters (such as <title> , <release year> , or other details), and counting the number of songs each artist has. SONGS should also be classified by genre.</p> <p>The only required methodology to accomplish these tasks is to use the proper tools (arrays, Class encapsulation, methods, etc.). It is recommended to have a SONG Class, a PLAYLIST Class, and a top-level MYPOD Class. The one rule is that you cannot use built-in sort/add/remove functions in Java Collections such as ArrayList. </p> <p><strong>Ruberic:</strong></p> <p>-UML for each class.</p> <p>-Comments.</p> <p>-Classes/Encapsulation/Inheritance.</p> <p>-Constructors.</p> <p>-Getters/Setters (Use of Private/Public).</p> <p>-Sub-functioning and Re-use</p> <p>-Internal Array Structures.</p> <p>-Exception Handling (+Try-Catch Logic).</p> <p>-Maintain a Playlist.</p> <p>-Print all Songs to Screen.</p> <p>-Sort by Title.</p> <p>-Sort by Artist and by Third Option.</p> <p>-Add a Song: (<em>Allow the user to Add new Songs; ask for <title>,</em></p> <p><em><artist>, <releaseyear>, <genre>, and <length> at a</em></p> <p><em>minimum. Save the new Song to the Playlist</em>)</p> <p>-Remove a Song.</p> <p> </p> <p><strong>Bonus Super Points:</strong></p> <p>-Shuffle Mode: (<em>Allow the user to pick Shuffle() mode, which will Randomly select all of your Songs and Print() the result; a new Shuffle() command should create a new order</em>).</p> <p>-Handle Custom Playlists: (<em>Instead of just having one primary Playlist of all Songs, allow the user to create their own Playlists with only a subset of Songs saved. All other functions should work on this Playlist in particular (sorting, add/delete, etc</em>.))</p> <p>-Save/Load To/From File: (<em>Allow the user to Save the current Playlist to a .txt file; the user should then be able to start the program over and Load that same .txt file to recover the Playlist; define your own format (recommend separate entries, even within one Song, by line</em>) )</p> <p> </p> <p> </p> <p>An example MyPod:</p> <p>Welcome to MyPod v1.0! Welcome back! Your playlists were successfully loaded from file. </p> <p>V View All Songs </p> <p>A Add Song </p> <p>R Remove Song </p> <p>P View Playlists </p> <p>N Create New Playlist </p> <p>X Save and Exit </p> <p> </p> <p><strong>V </strong></p> <p>How would you like to view your songs?</p> <p>G Sorted by Title</p> <p>A Sorted by Artist (count per artist displayed)</p> <p>L Sorted by Genre (count per genre displayed)</p> <p>Y Sorted by Release Year</p> <p>M Return to Main Menu</p> <p> </p> <p><strong>A</strong></p> <p>Britney Spears - 3</p> <p>Hit Me Baby One More Time (1998)</p> <p>Toxic (2001)</p> <p>3 (2009)</p> <p>Christina Aguilera - 2</p> <p>Genie in a Bottle (1998)</p> <p>Reflection (1999)</p> <p> </p> <p>What would you like to do next?</p> <p>V View All Songs</p> <p>A Add Song</p> <p>R Remove Song</p> <p>P View Playlists</p> <p>N Create New Playlist</p> <p>X Save and Exit</p> <p> </p> <p><strong>R</strong></p> <p>How would you like to remove a song?</p> <p>N By Name</p> <p>L List all songs</p> <p>M Return to Main Menu</p> <p> </p> <p><strong>L</strong></p> <p>Please select a song to remove</p> <p>1 Hit Me Baby One More Time (Britney Spears)</p> <p>2 Toxic (Britney Spears)</p> <p>3 3 (Britney Spears)</p> <p>4 Genie in a Bottle (Christina Aguilera)</p> <p>5 Reflection (Christina Aguilera)</p> <p>0 Return to Main Menu</p> </div> </section> <section class="answerHolder"> <div class="answerHolderHeader"> <div class="answer-heading"> <h2>Step by Step Solution</h2> </div> <div class="answerReviews"> <div class="starReview"> <div class="starIcon"> </div> <div class="starText"> </div> </div> </div> </div> <div class="answerSteps"> <p>There are <span>3</span> Steps involved in it</p> <div class="step"> <h3>Step: 1</h3> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp" width="759" height="271" alt="blur-text-image" loading="lazy" decoding="async" fetchpriority="low"> <div class="step1Popup"> <h3>Get Instant Access to Expert-Tailored Solutions</h3> <p>See step-by-step solutions with expert insights and AI powered tools for academic success</p> <button class="view_solution_btn step1PopupButton">View Solution</button> </div> </div> <div class="step"> <h3 class="accordion">Step: 2</h3> <div class="panel"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp" width="975" height="120" alt="blur-text-image" loading="lazy" decoding="async" fetchpriority="low"> <button class="view_solution_btn stepPopupButton">Sign Up to view</button> </div> </div> <div class="step"> <h3 class="accordion">Step: 3</h3> <div class="panel"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp" width="975" height="120" alt="blur-text-image" loading="lazy" decoding="async" fetchpriority="low"> <button class="view_solution_btn stepPopupButton">Sign Up to view</button> </div> </div> </div> </section> </div> <div class="expertRight"> <section class="AIRedirect"> <div class="AIHolder"> <h2>Ace Your Homework with AI</h2> <p>Get the answers you need in no time with our AI-driven, step-by-step assistance</p> <a class="AILink" href="/ask_ai">Get Started</a> </div> </section> <section class="relatedBook"> <div class="bookHolder" > <div class="relatedBookHeading" > <h2>Recommended Textbook for</h2> <object class="freeTagImage" type="image/svg+xml" data="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/document_product_info/free.svg" name="free-book-icon"></object> </div> <div class="bookMainInfo" > <div class="bookImage" > <a href="/textbooks/expert-oracle9i-database-administration-1st-edition-9781590590225"> <img src="https://dsd5zvtm8ll6.cloudfront.net/si.question.images/book_images/6304cc359e2e6_12208.jpg" width="100" height="131" alt="Expert Oracle9i Database Administration" loading="lazy"> </a> </div> <div class="bookInfo" > <h3 class="bookTitle"> <a href="/textbooks/expert-oracle9i-database-administration-1st-edition-9781590590225"> Expert Oracle9i Database Administration </a> </h3> <div class="bookMetaInfo" > <p class="bookAuthor"> <b>Authors:</b> <span>Sam R. Alapati</span> </p> <p class="bookEdition"> 1st Edition </p> <p class="bookEdition"> 1590590228, 978-1590590225 </p> </div></div></div> <a href="/textbooks/computer-science-unicon-2517" class="viewMoreBooks">More Books</a> </div> </section> </div> </div> <section class="relatedQuestion"> <div class="relatedQuestionHolder"> <h4>Students also viewed these Databases questions</h4> <div class="relatedQuestionSliderHolder"> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/suppose-the-supply-of-housing-construction-is-infinitely-elastic-at" > Suppose the supply of housing construction is infinitely elastic at a price of $150 per square foot. Currently 1 million square feet are built per month. If the price elasticity of demand for housing... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star active half">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/international-business/when-they-accept-foreign-assignments-how-can-expatriates-prepare-for" > When they accept foreign assignments, how can expatriates prepare for such an assignments risk? </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star active half">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/supply-chain-management-a-logistics/2-as-a-competitor-to-everglo-what-would-be-your-2124744" > 2 As a competitor to Everglo, what would be your options in response to Everglos latest moves? Everglo Battery, the premier battery manufacturer and service provider in South Africa, looked back on... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/teller-corporations-postclosing-trial-balance-at-december-31-2010-was" > Teller Corporation's post-closing trial balance at December 31, 2010, was as follows. At December 31, 2010, Teller had the following number of common and preferred shares. The dividends on preferred... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/java-produce-your-own-version-of-a-javabased-music-player-13653804" > JAVA. Produce your own version of a Java-based music player called MyPod! The focus will be on the design and implementation of the MENU system and SONG objects with a varied feature set. The MyPod... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/assess-and-investigate-the-potential-impact-of-the-risk-factors-9134267" > Assess and investigate the potential impact of the risk factors youre your organisation faces The coronavirus epidemic has changed the way organisations are working. Your task is to assess the impact... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/6-to-ensure-that-only-one-egrants-user-is-reviewing-1550972" > 6. To ensure that only one eGrants user is reviewing a particular subapplication at any given time, it is necessary to ______. A. check in the subapplication B. reserve the subapplication C. lock the... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/clearwater-electronics-plans-to-open-a-company-subsidiary-in-dubai-1559756" > Clearwater Electronics plans to open a company subsidiary in Dubai, United Arab Emirates. The new office will have several engineering positions to fill and has asked for assistance from the HR... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/harry-is-convinced-that-a-secret-government-agency-is-watching-1397087" > Harry is convinced that a secret government agency is watching him. To protect himself, he sits in his darkened apartment with boarded windows and doors. Which type of schizophrenic delusion does... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/which-of-the-following-is-a-tool-used-to-identify-3501600" > Which of the following is a tool used to identify team strengths? Option 1: SWOT Analysis Option 2: Planning Poker Option 3: Product Backlog Option 4: Service Level Agreement </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/questions/as-a-project-manager-you-want-to-increase-the-involvement-3506359" > As a project manager, you want to increase the involvement of a key stakeholder in the development process. Your team has just finished designing a new feature. You reach out to the stakeholder for... </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/cost-of-capital-in-managerial-finance/what-is-ddl-2132125" > What is DDL? </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/cost-of-capital-in-managerial-finance/what-is-the-difference-between-oracle-sql-developer-and-oracle-2132127" > What is the difference between Oracle SQL Developer and Oracle SQL Developer Data Modeler? </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> <div class="relatedQuestionCart "> <div class="relatedQuestionCartHeader"> <h3>Question</h3> <div class="relatedStarRating"> <span class="star active">★</span><span class="star active">★</span><span class="star active">★</span><span class="star">★</span><span class="star">★</span> </div> </div> <a class="relatedQuestionText" href="/study-help/cost-of-capital-in-managerial-finance/in-modern-computer-applications-how-is-referential-integrity-rule-compliance-2132123" > In modern computer applications, how is Referential Integrity Rule Compliance made easy for the system user? </a> <div class="relatedQuestionCartFooter"> <div class="relatedHistory"> <p> Answered: <span>1 week ago</span> </p> </div> </div> </div> </div> </div> </section> <hr class="expert-separator"> <div class="next-previous-button"> <div class="navigationButtons"> <a class="previousQuestionButton" href="/study-help/questions/can-someone-show-me-the-correct-solution-the-hudson-engineering-13653803">Previous Question</a> <a class="nextQuestionButton" href="/study-help/questions/create-a-program-that-will-accept-a-radius-value-from-13653805">Next Question</a> </div> </div> </div> <div class="promo items-center justify-center hidden" style="margin-left:-15px;"> <div class="app_promo"> <div class="app_promo_headline"> <img class="app_promo_icon" alt="Mobile App Logo" width="40" height="40" loading="lazy" src="includes/images/mobile/finalLogo.png"> <p class="app_promo_title font-sans items-center">View Answer in SolutionInn App</p> </div> <button class="app_promo_action redirection question_open_url='q_id=13653804&q_type=2'"> Download on the App Store </button> <button class="btn btn-default app_promo_dismiss"> Continue with the mobile website </button> </div> </div> </main> </div> <div class="blank-portion"></div> <footer> <div class="container footerHolder"> <div class="footerLinksFlex"> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Services</p> <ul> <li><a href="/site-map">Sitemap</a></li> <li><a href="/fun/">Fun</a></li> <li><a href="/study-help/definitions">Definitions</a></li> <li><a href="/tutors/become-a-tutor">Become Tutor</a></li> <li><a href="/study-help/categories">Study Help Categories</a></li> <li><a href="/study-help/latest-questions">Recent Questions</a></li> <li><a href="/study-help/questions-and-answers">Expert Questions</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Company Info</p> <ul> <li><a href="/security">Security</a></li> <li><a href="/copyrights">Copyrights</a></li> <li><a href="/privacy">Privacy Policy</a></li> <li><a href="/conditions">Terms & Conditions</a></li> <li><a href="/solutioninn-fee">SolutionInn Fee</a></li> <li><a href="/scholarships">Scholarship</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Get In Touch</p> <ul> <li><a href="/about-us">About Us</a></li> <li><a href="/support">Contact Us</a></li> <li><a href="/career">Career</a></li> <li><a href="/jobs">Jobs</a></li> <li><a href="/support">FAQ</a></li> <li><a href="/campus-ambassador-program">Campus Ambassador</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-12"> <p>Secure Payment</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/common/footer/secure_payment_method.png" class="img-fluid mb-3" width="243" height="28" alt="payment-verified-icon" loading="lazy"> </div> </div> <p>Download Our App</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="1"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/google-play-svg.svg" alt="SolutionInn - Study Help App for Android" width="116" height="40" class="img-fluid mb-3 " loading="lazy"> </div> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="2"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/apple-store-download-icon.svg" alt="SolutionInn - Study Help App for iOS" width="116" height="40" class="img-fluid mb-3" loading="lazy"> </div> </div> </div> </div> </div> <div class="footer-bottom"> <p>© 2024 SolutionInn. All Rights Reserved</p> </div></footer> <script> window.addEventListener("load",function(){jQuery(document).ready(function(t){t.ajax({type:"POST",url:"/",data:{trackUserActivity:!0,reqUri:document.URL,referer:document.referrer},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(t){t.ajax({type:"POST",url:"/",data:{insertCrawler:!0,reqUri:document.URL,parseTime:"0.056",queryTime:"0.01654768548584",queryCount:"30"},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(){function t(t="",n=!1){var i="itms-apps://itunes.apple.com/app/id6462455425",e="openApp://action?"+t;isAndroid()?(setTimeout(function(){return window.location="market://details?id=com.solutioninn.studyhelp",!1},25),window.location=e):isIOS()?(setTimeout(function(){return window.location=i,!1},25),window.location=e):(i="https://apps.apple.com/in/app/id6462455425",n&&(i="https://play.google.com/store/apps/details?id=com.solutioninn.studyhelp"),window.open("about:blank","_blank").location.href=i)}jQuery("#appModal").modal("show"),jQuery(".download-app-btn").click(function(){t(jQuery(this).attr("question_open_url"))}),jQuery(".redirection").click(function(){var n=jQuery(this).attr("question_open_url"),i=jQuery(this).attr("data-id");void 0!=n?1==i?t(n,!0):t(n,!1):1==i?t("",!0):t("",!1)}),jQuery(".app-notification-close").click(function(){jQuery(".app-notification-section").css("visibility","hidden");var t=new FormData;t.append("hide_notification",!0),jQuery.ajax({type:"POST",url:"/",data:t,cache:!1,contentType:!1,processData:!1,beforeSend:function(){},success:function(t){location.reload()}})})})},!1); </script> </body> </html>