[问答题] .print();
参考答案:
interface implements ClassName obj=new ClassName();问题解析:
本题主要考查接口、如何生成一个类的对象知识。解答本题的关键是熟练掌握接口、如何生成一个类的对象知识。在本题中,interface MyInterface语句中的interface的功能是声明接口MyInterface,public class ClassName implements MyInterface语句中的implements的功能是声明ClassName并实现MyInterface接口,ClassName obj=new ClassName();语句的功能是生成 ClassName型的对象obj。

![[问答题] .print(); [问答题] .print();](http://www.mshxw.com/aiimages/31/261132.png)
