Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
lab_9
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9731065
lab_9
Commits
8775dffe
Commit
8775dffe
authored
May 14, 2019
by
9731065
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Statement made
and base of Employee
parent
331bb285
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
6 deletions
+25
-6
Employee.java
src/Employee.java
+3
-0
Person.java
src/Person.java
+6
-6
Statement.java
src/Statement.java
+16
-0
No files found.
src/Employee.java
0 → 100644
View file @
8775dffe
public
abstract
class
Employee
extends
Person
{
}
src/Person.java
View file @
8775dffe
public
class
Person
{
pr
ivate
String
firstName
;
pr
ivate
String
lastName
;
pr
ivate
String
id
;
pr
ivate
int
joiningYear
;
pr
ivate
Department
department
;
public
abstract
class
Person
{
pr
otected
String
firstName
;
pr
otected
String
lastName
;
pr
otected
String
id
;
pr
otected
int
joiningYear
;
pr
otected
Department
department
;
public
String
getFullName
()
{
return
firstName
+
" "
+
lastName
;
...
...
src/Statement.java
0 → 100644
View file @
8775dffe
public
class
Statement
{
private
double
amount
;
private
Employee
reciever
;
public
Statement
(
int
amount
,
Employee
reciever
){
this
.
amount
=
amount
;
this
.
reciever
=
reciever
;
}
public
double
getAmount
()
{
return
amount
;
}
public
Employee
getReciever
()
{
return
reciever
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment