Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
lab7
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
9731082
lab7
Commits
021f7fcc
Commit
021f7fcc
authored
Apr 28, 2019
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second
parent
0882c990
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Airplane.java
src/Airplane.java
+6
-6
No files found.
src/Airplane.java
View file @
021f7fcc
...
@@ -3,23 +3,23 @@ import java.util.ArrayList ;
...
@@ -3,23 +3,23 @@ import java.util.ArrayList ;
public
class
Airplane
{
public
class
Airplane
{
private
String
type
;
private
String
type
;
private
ArrayList
<
s
eat
>
seats
;
private
ArrayList
<
S
eat
>
seats
;
private
ArrayList
<
s
eat
>
freeSeats
;
private
ArrayList
<
S
eat
>
freeSeats
;
public
Airplane
(
String
type
,
ArrayList
<
s
eat
>
seats
){
public
Airplane
(
String
type
,
ArrayList
<
S
eat
>
seats
){
this
.
type
=
type
;
this
.
type
=
type
;
this
.
seats
=
seats
;
this
.
seats
=
seats
;
}
}
public
ArrayList
<
s
eat
>
getSeats
(){
public
ArrayList
<
S
eat
>
getSeats
(){
return
seats
;
return
seats
;
}
}
public
ArrayList
<
s
eat
>
getFreeSeats
(){
public
ArrayList
<
S
eat
>
getFreeSeats
(){
return
freeSeats
;
return
freeSeats
;
}
}
public
void
reserveSeat
(
s
eat
seat
){
public
void
reserveSeat
(
S
eat
seat
){
}
}
...
...
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