I'm trying to write a method that get a B that extends SearchBoard(interface)
, and an M
that extends BoardMove(interface)
.
Now I have written CrossWord(interface)
, and MyCrossWord
that implements CrossWord
, but my method is not willing to recognize MyCrossWord
as a legit SearchBoard
obj..
I know I did something wrong with the generics someplace.