I don't understand why I keep getting errors!
public class Household { private int income; private int occupants; public void Household() { income = 41500; occupants = 2; } public void Household2(int ic, int occ) { income = ic; occupants = occ; } public void setIncome(int i) { income = i; } public void setOccupants(int o) { occupants = o; } public int getIncome() { return income; } public int getOccupants() { return occupants; } } public class TestHousehold { public static void main(String[] args) { Household house = new Household(); house.setIncome(41500); house.setOccupants(2); System.out.println("The " + house.getOccupants() + " occupants make an annual salary of " + house.getIncome() + "."); Household house1 = new Household(10000, 10); house1.setIncome(10000); house.setOccupants(10); System.out.println(house1.getOccupants() + "occupants make an annual salary of " + house1.getIncome()); } }