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
5c0b2af2
Commit
5c0b2af2
authored
May 14, 2019
by
9731065
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
employee complited
parent
8775dffe
Pipeline
#598
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
Employee.java
src/Employee.java
+26
-0
No files found.
src/Employee.java
View file @
5c0b2af2
import
java.util.ArrayList
;
public
abstract
class
Employee
extends
Person
{
public
abstract
class
Employee
extends
Person
{
protected
ArrayList
<
Statement
>
statements
=
new
ArrayList
<>();
protected
String
position
;
protected
double
basicIncome
;
public
Employee
(
String
position
){
this
.
position
=
position
;
}
public
void
setBasicIncome
(
double
basicIncome
)
{
this
.
basicIncome
=
basicIncome
;
}
public
ArrayList
<
Statement
>
getStatements
()
{
return
statements
;
}
public
double
getBasicIncome
()
{
return
basicIncome
;
}
public
String
getPosition
()
{
return
position
;
}
public
void
addBankStatement
(
Statement
statement
){
this
.
statements
.
add
(
statement
);
}
}
}
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