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

10 Dec 2016

answer is true