Advertisement
Zepdo

Lab 3 BookingManager

Oct 15th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. package lab3;
  2.  
  3. import java.time.LocalDate;
  4. import java.util.ArrayList;
  5.  
  6. public class BookingManager extends Booking {
  7. ArrayList<Booking> Bookings = new ArrayList <Booking>();
  8.  
  9. BookingManager(LocalDate startDate, int numberOfNights, double costPerNight) {
  10. super(startDate, numberOfNights, costPerNight);
  11.  
  12. }
  13.  
  14. Bookings.add(new BookingManager();
  15.  
  16.  
  17. //public void addBooking()
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement