进阶day13-XML的作用&基本语法
This commit is contained in:
@@ -91,8 +91,8 @@ public class Demo03 {
|
||||
Singer singerProxy = (Singer) Proxy.newProxyInstance(classLoader, interfaces, handler);//多态
|
||||
// System.out.println(singerProxy);//toString
|
||||
// singerProxy.sing(50);
|
||||
// singerProxy.dance(150);
|
||||
singerProxy.dance(150);
|
||||
// singerProxy.eat();
|
||||
singerProxy.toString();
|
||||
// singerProxy.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user