Question: Implement an interface called Developerinfo with the following constant variables: DEV_MONTHLY SALARY 150DD INTERN MONTHLY HOURS WORED = 150 STOCKS PER MONTH = 2000

Implement an interface called Developerinfo with the following constant variables: DEV_MONTHLY SALARY 150DD INTERN MONTHLY HOURS WORED = 150 STOCKS PER MONTH = 2000Note: Make use of this interface in the below classes wherever applicable.

Implement an interface called Developerinfo with the following constant variables: DEV_MONTHLY SALARY 150DD INTERN MONTHLY HOURS WORED = 150 STOCKS PER MONTH = 2000 Note: Make use of this interface in the below classes wherever applicable. 2. Implement an abstract class Developer with the following requirements: Attributes last name (String) first name (String) ID number (String) Birth date - Use the Calendar Java class to create a date object Default constructor and argument constructors. Public Methods toString returning a string with the following format: ID Employee number Employee name: Birth date: mutators and accessors (getters and setters) abstract method monthlyEarning that returns the monthly earnings. 3. Implement a class called Intern extending from the class Developer with the following requirements: Attribute Hourly rate Default constructor and argument constructors. Public Methods mutators and accessors (getters and setters) The method Earning returns monthly salary (hourly rate times INTERN_MONTHLY_HOURS_WORED) toString returning a string with the following format: ID Employee number Employee name: Birth date: Monthly Salary: Implement a class Education with the following requirements: Attributes Degree (MS or PhD or BS) Major (CS, Software Engg., etc...) Default argument and argument constructors. Public Methods mutators and accessors Implement a class SDE extending from the class Developer with the following requirements: Attributes Level (Use enum Java) "I": SDE1 "II": SDE2 "III': SDE3 Education object Default and parametrized constructor Public Methods mutators and accessors The method monthlyEaming returns monthly salary based on the STOCKS_PER_MONTH + SDE's level: I-developers' monthly salary II - 1.5 times the developer's monthly salary III-2.0 times the developer's monthly salary toString - returning a string with the following format: ID Employee number Employee name: Birth date: Monthly Salary:, Implement a class called Partime extending from the class Intern with the following requirements: Attributes Hours worked per week Default argument and argument constructors Public Methods mutators and accessors The method monthlyEarning returns a monthly salary. The monthly salary is equal to the hourly rate times the hours worked in four weeks. toString - returning a string with the following format: ID Employee number Employee name: Birth date: Hours works per month: Monthly Salary: Implement a test driver program that creates a one-dimensional array of class Developer to store the objects Intern, SDE, and Partime. Question4: UML Diagrams (20 pts): Draw UML Class diagrams for Q2 and Q3. Your diagram should include appropriate symbols and notations, associations, cardinality, constraints, composition, and aggregation wherever possible.

Step by Step Solution

3.40 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Data Storage and Structure Image 3 While it doesnt show data storage it provides a basic structure for representing membership information using a Mem... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!