摘要: 1 public class Parcel{ 2 public Contents contents() { 3 return new Contents() { 4 private int i = 11; 5 public int value() {return i; } 6 } 7 } 8 9 public static void main(String[] args)10 {11 Parcel p = new Parcel();12 Contents c = p.contents();13 ... 阅读全文
posted @ 2013-04-11 23:13 mo_suyi 阅读(273) 评论(0) 推荐(0) 编辑