public class InterfaceDemo { public static void main(String[] args){ SubTest sb=new SubTest(); sb.show(); System.out.println(sb.NUM); System.out.println(Inter.NUM); System.out.println(SubTest.NUM); } }