3. Design a Java interface called Faculty that includes one method: void CalcLGrade (int il). Design...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3. Design a Java interface called Faculty that includes one method: void CalcLGrade (int il). Design and implement a class called CSFaculty that implements the Faculty interface. The method CalcL Grade takes one integer number/variable and calculates its corresponding LetterGrade: il >= 90, 80 <= il <90, 70 <=il <80, assign 'C' to LetterGrade; 60 <= il < 70, assign 'D' to LetterGrade; il < 60, assign 'F' to LetterGrade. LetterGrade is a member of CSFaculty. The three file names are: Final_P3, Faculty and CSFaculty. assign 'A' to LetterGrade; assign 'B' to LetterGrade; 3. Design a Java interface called Faculty that includes one method: void CalcLGrade (int il). Design and implement a class called CSFaculty that implements the Faculty interface. The method CalcL Grade takes one integer number/variable and calculates its corresponding LetterGrade: il >= 90, 80 <= il <90, 70 <=il <80, assign 'C' to LetterGrade; 60 <= il < 70, assign 'D' to LetterGrade; il < 60, assign 'F' to LetterGrade. LetterGrade is a member of CSFaculty. The three file names are: Final_P3, Faculty and CSFaculty. assign 'A' to LetterGrade; assign 'B' to LetterGrade;
Expert Answer:
Answer rating: 100% (QA)
public interface Faculty void CalcLGrade int il public class CSF... View the full answer
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date:
Students also viewed these programming questions
-
In the accompanying diagram, PB and PD are secants drawn to circle O, PA = 8, PB = 20, and PD = 16. P A C 0 D What is PC? B
-
Give a scenario where choosing a large file system block size might be a benefit; give an example where it might be a hindrance
-
In this assignment, you will create a program that allows theuser to draw in a window using brushes of different sizes andcolors. The user will be able to change the size and color of thebrush using...
-
Complete the given table. Number of Days Outstanding Accounts Receivable Estimated % Uncollectible Total Estimated Uncollected Accounts 045 days $ 752,000 2 % $enter a dollar amount 4690 days 255,000...
-
Is it easier to search for a job by visiting online job boards or by networking? Which method do you think is more successful?
-
Tubby Toys estimates that its new line of rubber ducks will generate sales of $7 million, operating costs of $4 million, and a depreciation expense of $1 million. If the tax rate is 35%, what is the...
-
How to identify parties in the complaint?
-
A heat recovery device involves transferring energy from the hot flue gases passing through an annular region to pressurized water flowing through the inner tube of the annulus. The inner tube has...
-
See photo attached for question Homework: MT217 M5 Competency Assessment Score: 0 of 5 pts Problem 7.LO4.16 15 of 20 (17 complete) Save HW Score: 80%, 80 of 100 pts Question Help AU.S. Government...
-
The following items were derived from Woodbine Circle Corporations adjusted trial balance on December 31, 2016: Other financial data for the year ended December 31, 2016: Federal Income Taxes Paid...
-
For the thin-walled beam shown below compute, and sketch, the shear stress distribution at x = 0. Assume that all approximations which were made in deriving the relevant equations hold. 17 E = 510 Pi...
-
Jack asked Jill to marry him, and she has accepted under one condition: Jack must buy her a new $320,000 Rolls-Royce Phantom. Jack currently has $66,130 that he may invest. He has found a mutual fund...
-
Zhang Industries budgets production of 390 units in June and 400 units in July. Each unit requires 1.5 hours of direct labor. The direct labor rate is $15.80 per hour. The indirect labor rate is...
-
Compute Altoona Company's (a) inventory turnover ratio and (b) number of days' sales in inventory ratio, using the following information. Cost of Goods - $722,000 Beginning Inventory - $53,000 Ending...
-
Fisher's (1936) iris data set provides the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 150 flowers (50 flow- ers from each of the...
-
You are offered $120,000 today or $320,000 in 13 years. Assuming that you can earn 13 percent on your money, which should you choose? If you are offered $320,000 in 13 years and you can earn 13...
-
Find the Domain and Range. The entire graph of the function h is shown in the figure below. Write the domain and range of h using interval notation. -7 - -N 34 2+ 2 -3- 4+ -5- 2 3 4
-
The diagram shows the two forces acting on a small object. Which of the following is the resultant force on the object? A. 8 N downwards B. 8 N upwards C. 2 N downwards D. 2 N upwards 3 N 5 N
-
Write a for statement to compute the sum 1 + 2 + 3 + 4 + 5 + + n .
-
Write a recursive method that will reverse the order of the characters in a given string and return the result as a new string. For example, if "book" is the argument, the result would be "koob".
-
Suppose that we are working for an online service that provides a bulletin board for its users. We would like to give our users the option of filtering out profanity. Suppose that we consider the...
-
8P1 In Exercises 1722, evaluate the permutation.
-
45P5 In Exercises 1722, evaluate the permutation.
-
Let A and B be events with P (A) = 0.2 and P (B) = 0.9. Assume that A and B are independent. Find P (A and B).
Study smarter with the SolutionInn App