BT Group Interview Question

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 { }

Interview Answer

Anonymous

Dec 10, 2016

answer is true