blob: e65d63377a2b96676d93f4393eabb3316316f03a (
plain)
1
2
3
4
5
6
7
|
class B_no {
public void m() {
System.out.println("B_no.m()");
Class[] itfs = B_no.class.getInterfaces();
System.out.println("B_no has interface? "+((itfs==null||itfs.length==0)?"no":itfs[0].getName()));
}
}
|