Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write simple java program follow below requirement be creativity ~Write a Java program that consists of at least 2 classes of your own design

Please write simple java program follow below requirement be creativity

~Write a Java program that consists of at least 2 classes of your own design. One of them should have a main() method, which uses the object(s) of your other class(es).

~The entire program should be at least 200 lines long.

~Use all four common data types (boolean, char/String, int and double).

~Use, at least, 1 decision-making statement (if-then, if-then-else or switch), 1 looping statement (for, while or do-while), and1 try-catch statement to handle exceptions

~Use the Scanner class to get user input

~Make use of ArrayList or LinkedList objects in your program

~The program should generate some, hopefully interesting, output.

~Add comments to make your program more understandable (not counted toward the 200-line requirement).

~Draw UML class diagrams for your own classes, and submit them as a separate .pdf file. (2 points)

~Be creative. (Creativity is worth 2 points.)

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions