Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Summerhouse extends House implements Extendable{
- public Summerhouse(int rooms){
- super(rooms);
- }
- public static void main (String[] args){
- //addRooms(1);
- }
- public static void addFloors(int floors){
- }
- public static void addRooms(int rooms){
- System.out.println("Please collect the necessary permission at the staff's room");
- }
- public static void build(String s){
- System.out.println("Lets build a summerhouse!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement