Get interfaces implemented by a class Reflection Java

It is advised to read the notes on Java Reflection API before attempting the programs. Example to get interfaces implemented by a class interface Hello { } interface Test { } interface Sample extends Test, Hello{ } public class Demo implements Hello, Test, Sample { public static void main(String args[]) { Demo d1 = new …

Get interfaces implemented by a class Reflection Java Read More »