Why cant the human be a miner here?
Also what is meant by: "but be sure that it doesn't become an abstract class." How could one accidentally create an abstract class?
Why cant the human be a miner?
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Boris the Llama
11 July 2019, 12:11
The human has works hard and works lazily methods. These are in businessman, employee and secretary interfaces, so we can implement these interfaces into the human class.Miner has work very hard method, so to implement it into the human class in real life we could make the human class abstract, or we could add the method, which we are not allowed to do in this task.
+4