摘要:
interface Eat{ void eat() ;}class RealEat implements Eat{ public void eat(){ System.out.println("###真实主题的核心操作###"); }}class EatProxy i... 阅读全文
posted @ 2016-01-07 22:36
Loeis.G
阅读(175)
评论(0)
推荐(0)
摘要:
项目根目录创建一个properties文件:Apple = cn.gry.vo.AppleOrange = cn.gry.vo.Orange创建接口:interface Fruit{ public void eat() ;}创建两个vo类:class Apple implements Frui... 阅读全文
posted @ 2016-01-07 21:45
Loeis.G
阅读(211)
评论(0)
推荐(0)

浙公网安备 33010602011771号