摘要:
Java代码 class Tree { int height; Tree() { print("Planting a seedling"); height = 0; } Tree(int i) { print("Creating new Tree that is "+ i + " feet tall"); height = i; } public void plant() { print("Tree is " + height + " feet tall"); } public void pla 阅读全文
posted @ 2014-02-11 14:15
百易城
阅读(257)
评论(0)
推荐(0)
2014年2月11日