You have to design your own Java console application about any valid problem that your application must solve. Your solution can include solving a business problem, a new idea or even a game. Your application must make use of concepts such as arrays, loops, inheritance, constructors and information hiding. Output must be shown in the form of a report using the console. In your solution, make use of as many concepts, and components dealt with in this course, but pay special attention to the following learning units: • Learning Unit 1: Advanced arrays. • Learning Unit 2: Introduction to inheritance
Create a console calculator application that make use of a menu it should gives a user an option to end a program when she entered a certain option
Design and develop an algorithm, function, method, utility, command or component that sorts a multi-column contact list (contain last name, first name, middle name). You may use any appropriate data structure of choice to hold your data.
Implement your solution as part of a program (written in JAVA) that displays list, before sorted, after sorted. Refer to the Sample Unsorted Input Data and the Sample Sorted Output Data below to see how the list be transformed by the sort process.
The output should be ordered by Last Name. First Name must be ordered within Last Name and the Middle Name should be ordered within First Name. All the sorting be performed in ascending order.
If use a pre-existing algorithm, identify Library, OS, individual, etc. give full attribution to source.
Sample Unsorted Input Data:
Smith, John Vince
Doe, Jane Marie
Doe, Sally Mae
Smith, Robert Anthony
Doe, Sally Maria
Sample Sorted Output Data:
Doe, Jane Marie
Doe, Sally Mae
Doe, Sally Maria
Smith, John Vince
Smith, Robert Anthony
You have to design your own Java console application about any valid problem that your application must solve. Your solution can include solving a business problem, a new idea or even a game. Your application must make use of concepts such as arrays, loops, inheritance, constructors and information hiding. Output must be shown in the form of a report using the console.
You have to design your own Java console application about any valid problem that your application must solve. Your solution can include solving a business problem, a new idea or even a game. Your application must make use of concepts such as arrays, loops, inheritance, constructors and information hiding. Output must be shown in the form of a report using the console. In your solution, make use of as many concepts, and components dealt with in this course, but pay special attention to the following: Advanced arrays and Introduction to inheritance.
1. Write a class called Item. It should have the following attributes (fields): a) a String name to store the name of the item. b) a String comment to store a comment about the item. c) a double value to store how much the item cost
2. Write a CD class that extends the Item class. CD’s have a String artist field and an int playingTime field. Write a DVD class that extends the Item class. The DVD class has a String director and an int runningTime
3. Write a Database class that creates and maintain a list of multimedia items. Your class must use the subclasses defined above to provide the following minimum functionality: a) add an item to the list b) remove an item to the list c) print out a list of items (to the screen) d) depreciates each item 4. Write a test program that creates some items of different types, adds them to the database, removes one of them and then prints out a list.
Write a program called GradeBook.java. This program should do the following:
1. Prompt the user to enter 3 grades one at a time, and read them in using Scanner (assume the grades are integer numbers).
2. Compute the average of the 3 grades.
3. Print the resulting average (do not worry about rounding the result, just print the value with all of the decimal places).
Here is an example of what the program output will look like (bold-italics indicate user input):
Enter grade 1: 89
Enter grade 2: 93
Enter grade 3: 72
84.666666667