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

Draw the interface and write a java program to produce an applet file that consists of audio , image and graphic shape for your 8th years old customer, Sharon for her birthday .For audio, you need to use loop() method and an AudioClip to play sound continually in an applet. The details given by her mother are as follows:
• Sharon loves pink and any bright color very much
• She loves flower
• Audio file:
-Name: any birthday song.
• Image file:
-Name: Sharon.JPEG
-Path : C:\Users
Write a JAVA program to do the searching for membership data and verify whether the data entered by the customer matches with the data in the member.txt .The input file named member.txt contains: one row for the customer and one row for the name of the customer and one row for the membership ID
Your program should open the input file and read it one line at a time to get verification. If it is match, the valid member will get 20% deduction from the total bill, if not, prompt out the error message and the customer will not get 20% deduction
Travel Agency Redemption System enables student to get student price for selected interest places entrance ticket once per year. Write a Java program to calculate the total bill for the student after the selection has been made. The details is as follows:
There are two buttonGroup to represent membership and interest places. Display the result in a JOptionPane that appears on the screen only after the user clicks the JButton named Submit. Right after the user clicks the JButton, the total of bill need to be stored in a redeem.txt. Save the file as JTicket.java.
Write a simple GUI based Java desktop application to capture the width and height of a rectangle entered by the user. The application will have THREE (3) buttons. The first two buttons allow the user to calculate and display the rectangle area and perimeter in a label respectively based on the given input. The third button functions will terminate and exit from the application. The formulas to calculate a rectangle area and perimeter are given as below:

area = length * width
Perimeter = length + width + length +width

Separate the application codes into THREE (3) different classes, where first class is to construct the application components and handle the events, the second class to construct the frame container for the application, and the third class to execute the application.
There are 2000 students in a course. They wrote a mathematics test which was scored out of 40 and then converted to percentage.

1. Draw a flowchart that reads the name, sex and score of each student, and outputs the names of the female students that scored below 45% and how many they are.

2. Write a pseudocode program that reads the name, sex and score of each student, and outputs the names of the female students that scored below 45% and how many they are.
Can anyone please help me do my Java assignment? I am on the verge of failing. Please help.
public class P15 {
public static void main(String[] args) {
int[] v = { 0, 1, 2, 3 };
System.out.println(v[1] + ", " + v[2] + ", " + v[3]);
fiddle(v, v[2]);
System.out.println(v[1] + ", " + v[2] + ", " + v[3]);
fiddle(v, v[3]);
System.out.println(v[1] + ", " + v[2] + ", " + v[3]);
}

public static void fiddle(int[] array, int idx) {
array[idx] = array[idx - 1] + array[idx - 2];
}
}
Write a Java program that meets the following requirements:-
Using up to and including Chapter 20 concepts.
Found at the end of chapter 20, #20.1 Display words in ascending alphabetical order, but with these
changes. Make it a GUI program using JavaFX. Display the input and include a button the user can click
which will then display the text in alphabetical order.
How to code a simple register/login for a member to a gym
Write a public instance method for the Garage class called addCustomer(),
which takes four arguments as in the following header:public void
addCustomer(String regNo, String name, String address, int
area)
and returns no value.
The method should create an instance of Customer and then add it to the map
referenced by the instance variable customers with regNo as the key.
Test your method in the OUWorkspace by creating an instance of Garage and
assigning it to a variable called aGarage. Then send addCustomer()
messages to the Garage object to add three customers as shown in the table
above. Inspect aGarage to confirm that the customers were added.
Save the statements from the OUWorkspace that you used to add the
customers (for example in the project’s README.txt file) for use later in this
question.
LATEST TUTORIALS
APPROVED BY CLIENTS