Hi,
I have a very annoying JAvA exercise to do in which one class needs to be an "exdends"-child of a parent. The child should NOT have functions avaliable though that the parent does have. As in .. the parent has a function called pair() .. this function should not be callable for the child. I can modify the parent as well as the child however much I like .. both have to be non-abstract classes though, and if possible, the inheritance should be direct.
As far as I can tell, I can't really tell the child that it doesn't have functions its parent has. am I missing a loophole?

Thanks.