if(实例化对象==null){...}
A a =new A();if(a != null){ System.out.println("芦迟物隐not null");}else{ System.out.println("null"陪蚂李);}