Advertisement
Guest User

Skyscraper

a guest
Sep 3rd, 2015
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. public class Skyscraper extends House implements Extendable{
  2.  
  3. public Skyscraper(int floors){
  4. super(floors);
  5. this.floors += 1;
  6. }
  7.  
  8.  
  9. public static void main (String[] args){
  10.  
  11. }
  12.  
  13. public void addFloor(){
  14.  
  15. }
  16.  
  17. public static void build(String s){
  18.  
  19. System.out.println("lets build a skyscraper!");
  20.  
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement