The area of a rectangle is the product of the lengths of two adjacent sides.
长方形的面积是相邻两边长度的乘积。
It is calculating the area in one method, and it is returning a GUI representation of the rectangle in another method. This leads to some interesting problems.
在一个方法里它计算了面积,在另外一个方法了它返回一个表示矩形的GUI。
Hebb replied that the question was akin to asking which feature of a rectangle-length or width-made the most important contribution to its area.
“这个问题像是在问,对长方形的面积来说,到底是形状更重要,还是它的长度和宽度更重要?”赫布这样回应道。
应用推荐