package questions; public final class AnimalVegetableMineralQuestion extends Block { private Block animal; private Block vegetable; private Block mineral; public AnimalVegetableMineralQuestion(Block animal, Block vegetable, Block mineral) { super("Animal, vegetable, or mineral?"); this.animal = animal; this.vegetable = vegetable; this.mineral = mineral; } public Block getAnimal() { return animal; } public void setAnimal(Block animal) { this.animal = animal; } public Block getVegetable() { return vegetable; } public void setVegetable(Block vegetable) { this.vegetable = vegetable; } public Block getMineral() { return mineral; } public void setMineral(Block mineral) { this.mineral = mineral; } }