【笔记】Stanford OpenCourse—CS106A:Programming Methodology—006
摘要:
Assignment 2: Simple Java ProgramsProblem 1: Brick Pyramids 这题要求画个图1所示的类似金字塔的东东,主要是使用getWidth(),和getHeitht(). 图 1 1 /*File pyramid.java 2 * this program draws a pyramid 3 * Programming exercise 1 cs106a stanford: 4 * Assignment #2: Simple Java Programs 5 * Write a GraphicsProgram subclass that draws 阅读全文
posted @ 2011-06-17 15:11 yf.x 阅读(1570) 评论(0) 推荐(1) 编辑