标签:style blog http ar color os 使用 sp 文件
public class Client { public static void main(String[] args) { // TODO Auto-generated method stub IGoodBodyGril bodyGril = new IGoodBodyGril() { @Override public void niceFigure() { // TODO Auto-generated method stub System.out.println("好的身材!"); } @Override public void goodLooking() { // TODO Auto-generated method stub System.out.println("好的容貌!"); } }; IGreatTemperamentGril greatTemperamentGril = new IGreatTemperamentGril() { @Override public void greatTemperament() { // TODO Auto-generated method stub System.out.println("好的气质!"); } }; Search search = new Search(greatTemperamentGril); search.show(); Search2 search2 = new Search2(bodyGril); search2.show(); } }
标签:style blog http ar color os 使用 sp 文件
原文地址:http://blog.csdn.net/lovechangshu/article/details/41488189