It seems the code doesn’t work as expected because I didn’t get the
r is of type Writer
So what’s wrong with it?
Con implements Reader and Writer interfaces, but for some reason I get the message from if statement only if I write !ok - which is actually
false, but why should it be
false if it must be