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
-
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...
-
A pendulum is launched from a point that is a height h above its lowest point in two different ways (Fig. 6-32). During both launches, the pendulum is given an initial speed of 3.0m/s. On the first...
-
Do they have enough insurance? Do they have too much insurance? Is increasing their deductible well advised?
-
Allan and Koraev both owned condominiums in the same building. Koraevs unit was directly above Allans. While Allan lived in her own unit, Koraev leased his. The leasing of Koraevs unit was managed by...
-
Computation involving different cost flow assumptions. Arnold Companys raw material Purchases during January, its first month of operations, were as follows: The inventory at January 31 was 3,500...
-
Transform following Relational model into ER Model. id Author writes authorid bookid Book bookid title edition libid memberld name dob AuthorContact id contact publishes Library id bid date id...
-
Proudfoot, Inc. would like to deduct expenditures for tangible personal property under $4,000 as maintenance and repairs costs. To implement this policy, which of the following is not required? a. A...
-
For this week's discussion, research blockchain, triple-entry accounting, and blockchain's role in auditing. For your initial post, discuss what blockchain and triple-entry accounting is. Also,...
-
Live theatres around the world needed to adapt their strategies during the 2020 global pandemic. Providing virtual paid performances, fundraising through open virtual recordings of past performances,...
-
Find the maximum S-T flow in the network. The capacities are shown on the edges in the diagram. (a). Show the residual graph after each iteration (b). Identify the edges in Min-cut S 7 A 4 6 2 2 B 3...
-
identify at least two supply chain risks faced by Boeing Explain
-
Explain, what it meant by 'lifting the corporate veil' and provide two examples of circumstances of where the veil is lifted in company law.
-
Given the points A (2,3,7), B (3, 6,5) and C (-1,2,-2). a. Is triangle ABC a right triangle? Explain your solution. b. Determine the area of the triangle ABC. Show all steps.
-
Adama Company incurred the following costs. Indicate to which account Adama would debit each of the costs. 1. Sales tax on factory machinery purchased $5,000 Select an account to be debited Equipment...
-
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...
-
Given the following information, answer the questions about this project: a. Draw the network as a Gantt chart. b. What is the critical path? Which activities have slack time? c. What would happen if...
-
Develop a Gantt chart with the following information. What is the expected duration of the project? What is the critical path? Activity Expected Duration Predecessors A BL 12 8 None None C 5 None D...
-
Consider a project with the following information. Construct the project activity network using AOA methodology and label each node and arrow appropriately. Identify all dummy activities required to...
Study smarter with the SolutionInn App