posted 19 years ago
Hi, welcome to the ranch! In this forum we often encourage you to answer your own questions a little bit at a time. For this one, why not just try it? Make an interface I with one method, a class A that implements I and a class B that extends A. Then see if ( B instanceOf I ).
Also try saying "A implements I" but don't actually code the required method in A. What does the compiler tell you then?
Don't be discouraged by this answering a question with a question. Or two. We really want you to have the joy of working things out. They'll stick in your head much better that way! Let us know what you find and whether it makes sense.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi