String function ( ) { return "srini_string" + name + "srini_string" + amountHouses + "srini_string" + mayor . getName ( ) ; }
return name of the village , amount of houses and inhabitants . concode_field_sep Villager mayor concode_elem_sep Villager[] villager concode_elem_sep int MAX_NUM_VILLAGER concode_elem_sep String name concode_elem_sep int amountHouses concode_elem_sep int population concode_field_sep int getPopulation concode_elem_sep void addInhabitant concode_elem_sep void addInhabitant concode_elem_sep Villager[] getVillager concode_elem_sep String getName concode_elem_sep int getAmountHouses concode_elem_sep Villager getMayor concode_elem_sep boolean isNewPopulationOK concode_elem_sep Villager electMayor concode_elem_sep void buildHouse concode_elem_sep void setVillager concode_elem_sep Villager setMayor