Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.ArrayList;
- public class MainBH {
- public static void main(String[] args) {
- House h1 = new House(100, 100.0, "Address here", 2, "Me");
- House h2 = new House(50, 75.0, "Address here", 3, "Me");
- House h3 = new House(10, 250.0, "Address here", 10, "Me");
- ArrayList<House> houses = new ArrayList<House>();
- houses.add(h1);
- houses.add(h2);
- houses.add(h3);
- Building.printBuilding(h1);
- House.Size(houses);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement