Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please show all work! thank you finna learn! also: needs work for multiline input Add the following components to your application. While you can (for

image text in transcribed

please show all work! thank you finna learn! also: needs work for multiline input

Add the following components to your application. While you can (for the moment) implement all of it in main(). you should already be thinking about ways to sub-divide your application into methods (and very soon, classes.) a. Declare and instantiate (create) three generic instances of ArrayList- one each that holds Integers, Doubles, and Strings b. Repeatedly input strings until an empty string is input. c. Each string that is input needs to be parsed based on white-space delimiting and saved into the appropriate ArrayList. Each input will only be added to one list - the one most appropriate for what each substring/token/element represents. d. The input strings should be processed in such a way that exception handling is 1S minimized, and all exceptions must be handled without disrupting the flow of the application (for specific exceptions, not a catch-all "Exception e. e. Once input is complete display (and unambiguously label) the following information with generous whitespace for max readability 1. The number of items in each list, preceded by the type of data stored in that list All of the values input in each list in ascending order, 10 on a line, preceded by the type of data in that list 2. All work is expected to be done in an optimal fashion, eliminating obvious reaundancies and poor practices. Poor formattina, naming, and structure will result in deductions. Take the time to make your input and output unambiguous and easy to read Bonus chalienges: instead of using an API sort, write your own generic sort method that will work for ai three lists . Compile and run your application on the command line . Do it yourself rather than with a partner (but make sure you get it donel You can utilize any classes from the Java API as you see fit. Remember you can ererence the javadocs on the Q: drive or online. oloaa vour .1ava file to Canvas by the deadline

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

Students also viewed these Databases questions