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

Write a Servlet that takes the user’s name and age from a form.
• Echo back the name and age along with a message stating the price of movie tickets.
• The price is determined by the age passed to the JSP.
• If the age is greater than 62, the movie ticket price is $7.00.
• If the user is less than 10 years old, the price is $5.00.
• For everyone else, the price is $9.50.
Employee Information System

An organization maintains the following data about each employee.

Employee Class

Fields:

int Employee ID

String Name

Date dateOfBirth

Date dateOfJoining

Methods:

Date checkDate(String dt) - Validate date entered by the user

setDateOfBirth(Date dob) - set valid date of birth

setDateOfBirth(Date doj) - set valid date of joining

print() - prints (system.out.println) the details of the employee

Algotithm:

Prompt the user to enter dob and doj. Check if the date entered by the user is valid or not.

If invalid date is entered, then display an appropriate error message and ask the user to enter again.

If valid date is entered, then set the member variables of the employee object with the employee id (auto -increment, assigning 1 to first employee during every execution) and date details. Invoke function print() of the employee object to print employee details.

User may enter date in any of the following three formats:

10 November 1994
10/11/1994
10-NOV-1994
The method must now ask for the customer name. If the customer is part of the loyalty program the
method must update the arrays according to this purchase. How to check the customer is already exist in the string array?
Write an algorithm to determine whether a directed graph of |V| vertices contains a cycle.
The algorithm should run in (|V| + |E|) time.
you have to write a program using java language which will realize the following scenario
project scenario:when you run your program it will display a welcome messege (you choose ur welcome messege). then program will ask to input a number beetween 1-9999, once u (user) insert a number the program will output the english words corresponding to the inserted number then ask the user (display the messege),"will u want another try?" if user inser yes then program will ask again to insert a number beetween 1-9999. once u (user) insert another number it will again output in words and this process continues until the user response "No" for the question."will u want another try?". once user inserts "no" program will display "goodbye" and ends the program.
Java program that will ask the user to enter his/her marks for a subject in integer through the JOptionPane input dialog method. Compare the marks with the given range below and display the associated grade achieved through the JOptionPane message dialog method
hi

could you tell me how to import a file (cards.txt) into a java script code?
If you have a 10 pictures and you display only 5 randomly for the first choice. The second choice will keep the selected pictures you desire to keep and display the other unselected randomly again like the first choice. It is aim at designing a computer game using java swing. first play and second play are buttons. and you could press the second after pressing the first. Thank you
im using java netbeans to do this...

Design and implement an abstract base class ArithmeticExpression that represent any
binary (having two arguments) arithmetic expression. the abstract class should include at least
two methods called evaluate and display which are described below.
i want to change the alphabet to number, e.g. A = 0, B = 2 etc all the way to Z, this my encryption task< all i need is the code or the man line that does what i have asked. Please help
LATEST TUTORIALS
APPROVED BY CLIENTS