Advertisement
Guest User

Summerhouse

a guest
Sep 3rd, 2015
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. public class Summerhouse extends House implements Extendable{
  2.  
  3. public Summerhouse(int rooms){
  4. super(rooms);
  5.  
  6. }
  7.  
  8. public static void main (String[] args){
  9.  
  10. //addRooms(1);
  11.  
  12. }
  13.  
  14. public static void addFloors(int floors){
  15.  
  16.  
  17. }
  18.  
  19. public static void addRooms(int rooms){
  20.  
  21. System.out.println("Please collect the necessary permission at the staff's room");
  22.  
  23. }
  24.  
  25. public static void build(String s){
  26.  
  27. System.out.println("Lets build a summerhouse!");
  28.  
  29. }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement