Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Q.1.5
If the user makes an incorrect product category selection, prompt the user to re-enter a valid product category

Q.1.6
Provide the user with the option to select between the following product warranty options:

1-Applies a six-month product warranty.

Any other key applies a two-year warranty.

Q.1.7
Once the entire submission has been completed, the user must be informed that the product details have been successfully saved.

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


Q.1.12
Finally, provide the ability for the user to exit the application.

Additional Requirements:

1.

In your solution, you must create a class called Products, which will contain all your working

This class will, as a minimum, contain the following methods, but you are encouraged to

add more methods:

18. 20:21

Assessment Sheet (Markim

PARENT MODULE NAM

CHILD MODULE NAME

STUDENT NUMBER:

Question 1 Mark All

3.

STUDENT NAME:

MODULE NAME:

Appendix A

Finally, create a main class to run your application.

2

methods.

SearchProduct();

SaveProduct():

UpdateProduct();

DeleteProduct();

DisplayMenu();

CaptureProduct();

ExitApplication();

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. 


Program 5 – Magazine application Code the following program in Java. Only submit the source files. There will be two source files. Do not zip your project as it increases the marking time significantly. As a programmer you must be able to follow precise instructions. You will also not always get precise instructions. You must learn to ask questions and make valid deductions of what is expected. 1. Code the Magazine class according to the class diagram. 2. Code a class MagazineApp. a. This class have a main method. b. Code an array that can hold 5 Magazine objects. c. Add (hard-code) objects to this array. d. Display the array on the screen. Use the toString(). e. Remember to code a heading for the report, as well as a ending message.

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 



LATEST TUTORIALS
APPROVED BY CLIENTS