package com.casic.accessControl.temp; /** * Created by lenovo on 2016/9/23. */ public class Son implements ISon{ public void delay(){ try { Thread.sleep(10*1000); } catch (InterruptedException e) { e.printStackTrace(); } System.out.println("this is the son printing"); } public static void main(String [] args){ // Father father = new Father(); // Son son = new Son(); // father.delay(son); // System.out.println("the end……"); for(int i=0;i<0;i++){ System.out.println("执行"); } System.out.println("完毕"); } }