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

Charles and the Necklace
Charles wants to buy a necklace in which.
1. There is a minimum of 1 pearl and maximum of X pearls, such that each
pearl has its own magnificent coefficient
2. The pearls should be in non-decreasing order of their magnificence power.
You are given the maximum number of pearls in a necklace and the range of
the magnificent coefficients of the pearls. Find the number of necklaces that
can be made that follow the mentioned conditions.​
Given the following values,
10, 50, 30, 40, 20.
Define an array that will store the values
and use the bubble sort to display them in
descending order and in ascending order.

Results 'can' look like this:

Before Desc Asce
10 50 10
50 40 20
30 30 30
40 20 40
20 10 50
Write a menu driven application to maintain the employee payroll details using JAVA.
Your application must contain the following functionalities. Use constructors, getter
and setter functions.

a. For each employee your application must have the details such as
name, empid, department, designation, experience, basicPay, DA,
gradePay, personalPay, iTax, professionalTax, epf
b. Get the employee details from user(admin)
c. In the menu give the user options to add, edit, delete or display the
employee details.

You must write a small application in JAVA that stores SRC candidate names and the votes they received. Your program must: 1. 2. Create an array of SRC candidate names. Populate the array with ten names. Create an array of votes. Populate the array with the number of votes for every candidate. The two arrays work in parallel. 3. 4. 5. Print the name of every candidate with his/her number of votes.  Print the total number of votes casted. Add votes for a specific candidate. a.


Write a program that replaces two or more consecutive blanks in a string by a

single

blank. For example, if the input is

Grim return to the planet of apes !!

the output should be

Grim return to the planet of apes!!


Create the following classes (The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Design two more classes; Faculty and Staff and extend them from Employee. The detail of classes is as under: 1). A person has a name, address, phone number, and email address. 2). A student has a status (String). 3). An employee has an office, salary, and date hired. Use the Date class to create an object for date hired. 4). A faculty member has office hours and a rank. 5). A staff member has a title. 6). Create display method in each class.
The placement session has begun in a college. There is N number of students standing outside an interview room in a line. It is given that the person who goes first has higher chances of selection.
Each student has a number associated with them representing their problem-solving capability. The higher the capability the higher the chances of selection. Now every student wants to know the number of students ahead of him with higher problem-solving capability.
Input: 6(number of students) {4 , 9 , 5 , 3 , 2 , 10}
Output: {0 , 0 , 1 , 3 , 4 , 0}
Develop the internal mark calculation system based on the attendance percentage using java on given condition attendance percentage>=80and<90-4 marks attendance percentage>=75and<80-3 marks,attendance percentage<75-0 marks

Develop the internal mark calculation system based on the attendance percentage using java. Get the student name, register number,total number of according days present. Calculate attendance percentage of the students and award attendance mark based on the following condition.

Attendance percentage >=90 - 5 marks Attendance percentage >= 80 - 4 marks






The manager has decided to provide the party to their employees in the restaurant at week end due to his wedding anniversary. He wants to know the number of participants to arrange a dinner. During the dinner, he wants to conduct a game by calling employees who are having similar name. Design a java program to Read the list of employee names using an array. Arrange in N rows, M columns seating arrangements. Find the similar names without considering the alphabet case.
LATEST TUTORIALS
APPROVED BY CLIENTS