Java | JSP | JSF Answers

Questions answered by Experts: 3 611

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

Implement a car-parking system that records which cars are currently parked in the car park. Only registered cars must be allowed to enter the car park, so the system must be able to keep a list of authorized vehicles (and names of owners) as well as those actually parked at a particular time. It should also be capable of indicating whether or not the car park is full, and should be able to provide a sorted list of the owners of vehicles.
Design the class Bill with data members to store a patient's ID and the patient's hospital charges such as pharmacy charges for medicine, the doctor's fee, and the room charges. Add appropriate constructors and methods to initialize, access, and manipulate the data members.
Hello! How to initialize a two-dimensional array with particular values? Thanks!
Given the number n, find the sum of the first n odd numbers and print it.

1, 1, 2, 3, 5, 8, 13 ....
Print the first n numbers in the fibonacci sequence.
how can i make monthly register by java?
or what is the idea?

iam using jdeveloper
The class ColourValue has a single field of type int that is used to hold a value representing an index into a colour pallette. The class provides an accessor (get method) and a mutator (set method) for this field. Both methods are visible to all other classes. The constructor of ColourValue takes a single parameter containing the initial value for the field.
Write a complete definition of the class ColourValue.
create the University.java class that will prompt the
user to choose from a menu one of the following:
 Create a new student and based on his course add him into the appropriate
department. (Tip: each department will have an arraylist for their student, each
time a new student is to be entered, get the arraylist, add the student and the set
the arraylist back to the deprtment.)
 Choose a department to display all its students’ information.
 Choose a department to display the average GPA of its students.
 Find a student based on his name and surname. Display all student’s info
otherwise display that the student does not exist.
 Choose a classYear to display all students on that year from both departments,
separating them based on their department.
 Exit program.
Write a program to convert temperature in Fahrenheit to temperature in Celsius
and vice versa according to the user’s preference. The formula for the conversion in one
direction is as follows:
Tc = (5/9) * (Tf – 32)
Check the correctness and allowed scope of the entered data.
Let the user enter data from a file and write the conversion next to the initial value. For
example, if the user needs to convert F to C, create a file named FtoC.txt with random
Fahrenheit values. Read the file from your program and write next to each F value the C
conversion. Do this for CtoF as well.
Write a program for a Hospital Management Application. The Hospital should store a
number of doctors and a number of patients (tip: as objects stored in arraylists). Each
doctor should have the following information: SSN, Name, Surname, number of
patients, Office_ No, Specialization. Each patient should have the following
information: ID, Name, Surname, Address, Phone_Number, Doctor_SSN. Then create
the following functionalities (tip: as a menu) for the user to choose:
1. Ask to enter data of Doctor/Patients from a file in.txt.
2. Enter a new Doctor or Patient.
3. Find and delete a Doctor or a Patient.
4. Search for a doctor by Name+Surname or SSN.
5. Search for a patient by Name+Surname or ID.
6. Search for a doctor that has a number of patients within a certain range.
7. Search for doctors of a certain specialization.
8. Search for all patients of a doctor.
9. Find the doctor with min or max number of patients.
10. Exit.
The result of each choice should be displayed on the screen. Write a log file for the
user’s choices and functionalities.
How can i use stdin to gather a string separated by spaces and add each element to an arraylist of strings?
LATEST TUTORIALS
APPROVED BY CLIENTS