Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

bartleby

Concept explainers

Question
Java
DESCRIPTIONS OF PROBLEM:
Define a superclass Person and class Date based on the UML diagram given below:
Person
Date
firstName
lastName
dd
dateOfJoin
mm
payment
y
calPay()
Employee
type
salary
Student
Researcher
credit
rate
calPay()
calPay()
SAMPLE OF OUTPUT:
Output:
1] Student 2]Employee 3] Researcher or 0 to exit:> 2
Enter first name, last name and date of join
Manal
Adnan
22 3 2017
Status
T or P]: P
1] Student 2]Employee 3] Researcher or 0 to exit:> 1
Enter first name, last name and date of join
Ali
Basher
21 2 2017
Credit:> 5
Rate:> 500
expand button
Transcribed Image Text:DESCRIPTIONS OF PROBLEM: Define a superclass Person and class Date based on the UML diagram given below: Person Date firstName lastName dd dateOfJoin mm payment y calPay() Employee type salary Student Researcher credit rate calPay() calPay() SAMPLE OF OUTPUT: Output: 1] Student 2]Employee 3] Researcher or 0 to exit:> 2 Enter first name, last name and date of join Manal Adnan 22 3 2017 Status T or P]: P 1] Student 2]Employee 3] Researcher or 0 to exit:> 1 Enter first name, last name and date of join Ali Basher 21 2 2017 Credit:> 5 Rate:> 500
1] Student 2]Employee 3] Researcher or 0 to exit:> 3
Enter first name, last name and date of join
Alaa
Quraishi
21 2 2017
1] student 2]Employee 3] Researcher or 0 to exit:> 2
Enter first name, last name and date of join
Najla
Habshi
21 2 2017
status [T or P]: T
Hours of working: 8
Paysheetn 1438/1439
Date of join
22/03/2017
No
Name
Amount to pay
Manal Adnan
[P]
SR
10 000.00
2
Ali Basher
21/02/2017
SR
2500.00
Alaa Quraishi [R]
21/02/2017
SR
4000.00
4
Najla Habshi
[T]
21/2/2017
SR
1600.00
expand button
Transcribed Image Text:1] Student 2]Employee 3] Researcher or 0 to exit:> 3 Enter first name, last name and date of join Alaa Quraishi 21 2 2017 1] student 2]Employee 3] Researcher or 0 to exit:> 2 Enter first name, last name and date of join Najla Habshi 21 2 2017 status [T or P]: T Hours of working: 8 Paysheetn 1438/1439 Date of join 22/03/2017 No Name Amount to pay Manal Adnan [P] SR 10 000.00 2 Ali Basher 21/02/2017 SR 2500.00 Alaa Quraishi [R] 21/02/2017 SR 4000.00 4 Najla Habshi [T] 21/2/2017 SR 1600.00
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education