public class Test implements TP{ public static void main(String[] args) { Test test=new Test(); System.out.println(test instanceof TP1); } public interface TP extends TP1 { } public interface TP1 { }
Anonymous
answer is true
Check out your Company Bowl for anonymous work chats.