public class Home { private double area;// גודל השטח private int room;// מס' החדרים public Home(double a,int r){ area=a; room=r; } public double getArea(){ return this.area; } public int getRoom(){ return this.room; } public void setRoom(int r){ this.room=r; } public void setArea(double a) { this.area = a; } public String toString() { return "area " + this.area + " room " + this.room; } } ================================================= public class Neighborhood { private String name;// שם השכונה private Street[] rehovot; // מערך רחובות private int numStreet;// מס' הרחובות public Neighborhood(String n) { this.name = n; this.numStreet = 0; rehovot = new Street[6]; } public void AddRehov(Street Zainot){ for(int **0; i