I have a class called Thing and a class called Robot. Thing has a public void setBlocksExit(). Robot has some methods I also desire.
I have extended Robot but I also want setBlocksExit() from Thing. I would make an interface that has setBlocksExit() and then make a class like:
public class C extends Robot implements BlockExit {}
The problem is I don't have access to the source code for Thing and Robot. I am using an educational package 'becker.jar' and all of the code is compiled so I can't access it to extract interfaces. What are my options?