摘要: 1 package com.think.in.java; 2 3 /** 4 * @author Xiaopeng 5 * 6 */ 7 public class Flower { 8 private int petalCount = 0; 9 private String s = new String("null");10 11 Flower(int petals) {12 petalCount = petals;13 System.out.println("Constructor w/ int arg only, petal...阅读全文
posted @ 2012-03-28 14:21 毕小朋 阅读(8) 评论(0) 编辑
