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

A client has approached you to create a website specific to their business. This website will serve as a

way of marketing their business, attracting clients and allowing them to make queries. The client

wants the website to keep track of users by storing their details for survey and marketing purposes.

The client requests that the website should have a database to keep track of these users.


 Make an application with the above classes for a client that comes with a list of items * that needs to purchase with the following ruleset: - At the beginning at least 5 different types of items must be added to the storage (use the method addItemQuantity() from Storage.class) - Then create a list of items of the client. - For every item first should be checked if the items are available (use getItemQuantity of Storage.class) - If an item is unavailable do not include it in the invoice - If the item is available include it in the invoice - After all the items are added to the invoice, show all the items added with the description, quantity and cost of the item. This final list should be shown ordered in alphabetical order. - output the invoice into a text file (invoice.text) and save it on the local PC.


 Write an application to create a super class Employee with information first name &
last name and methods getFirstName(), getLastName() derive the sub-classes
ContractEmployee and RegularEmployee with the information about department,
designation, salary & method displayFullName() , getDepartment, getDesig(),
getsalary() and to set department name , designation and salary of the corresponding
sub-class objects respectively.
 Derive sub-classes of ContractEmployee namely HourlyEmployee &
WeeklyEmployee with information number of hours & wages per hour, number of
weeks & wages per week respectively & method calculateWages() to calculate their
monthly salary. Also override getDesig () method depending on the type of contract
employee.

You are provided with a simple Java project.create an abstract class 3DShape for 3D shapes.

ˆ Create Cube and Cylinder 3D shapes by extending the 3DShape class you’ve just created.

ˆ Create an interface to calculate volume and implement necessary code to calculate correct value of volume of all types of your 3D shapes.

As a bonus, implement a design where 2DShape supertype is the parent of the 3DShape supertype, and respective methods for area and volume calculation are inherited from the relevant supertype for the concrete 3D objects.


Given any whole number from user input, check whether it’s a positive or negative number. If the
number is negative then increment it by 3 and multiply the result by 4, however if it’s a positive
number then decrement by 4 and multiply it by 3.
a) Create a flowchart to be followed to solve the above task
b) Create a java program using your flowchart and see samples below
Sample run 1:
Enter a whole number: 4
Output: The Number 4 is above zero hence,
Result of the calculations = 0
Sample run 2:
Enter a whole number: -5
Output: The Number -5 is below zero hence,
Result of the calculations = -8

In March 2020, COVID-19 was declared a pandemic. As a result, businesses and schools were closing,

cities and countries were locking down. No one knew what the next day would bring or how this global

crisis would impact all of us—physically, emotionally, or financially. COVID-19 has impacted small

businesses in different ways, and many have re-invented or re-launched their products and services

to reach new markets and take advantage of new opportunities. The COVID-19 pandemic has changed

our way of living. Businesses and work have moved online.

A client has approached you to create a website specific to their business. This website will serve as a

way of marketing their business, attracting clients and allowing them to make queries. The client

wants the website to keep track of users by storing their details for survey and marketing purposes.

The client requests that the website should have a database to keep track of these users.


Using ( switch ), write a program that asks the user to enter an integer of type (int) . The number represents the Section at the Faculty of Computer Science, the program prints the name of the section for the following options:


1- If the section number is "1" 

"computer science" is printed


2- If the section number is "2" 

"Information Technology" is printed


3- If the section number is "3"

"Networks" is printed


4- If the section number is "4"

 "Software Engineering" is printed


In the case to enter any number other than the numbers shown above are printed

"error number , try again"


* Make an application with the above classes(invoice,item,itemQuantity,storage) for a client that comes with a list of items * that needs to purchase with the following ruleset: - At the beginning at least 5 different types of items must be added to the storage (use the method addItemQuantity() from Storage.class) - Then create a list of items of the client. - For every item first should be checked if the items are available (use getItemQuantity of Storage.class) - If an item is unavailable do not include it in the invoice - If the item is available include it in the invoice - After all the items are added to the invoice, show all the items added with the description, quantity and cost of the item. This final list should be shown ordered in alphabetical order. - output the invoice into a text file (invoice.text) and save it on the local PC.


Create an employee form that accepts an employee number, employee name, employee surname, employee department, gender, and salary. The form should insert the employee details in the employee database. Include a table that fetches the employee’s details from the database, deletes and updates these details on a table.


Create an employee form that accepts an employee number, employee name, employee surname, employee department, gender, and salary


LATEST TUTORIALS
APPROVED BY CLIENTS