Commit 021f7fcc authored by unknown's avatar unknown

second

parent 0882c990
......@@ -3,23 +3,23 @@ import java.util.ArrayList ;
public class Airplane {
private String type ;
private ArrayList<seat> seats ;
private ArrayList<seat> freeSeats ;
private ArrayList<Seat> seats ;
private ArrayList<Seat> freeSeats ;
public Airplane(String type , ArrayList<seat> seats){
public Airplane(String type , ArrayList<Seat> seats){
this.type = type ;
this.seats = seats ;
}
public ArrayList<seat> getSeats(){
public ArrayList<Seat> getSeats(){
return seats ;
}
public ArrayList<seat> getFreeSeats(){
public ArrayList<Seat> getFreeSeats(){
return freeSeats ;
}
public void reserveSeat(seat seat){
public void reserveSeat(Seat seat){
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment