"Java语言程序设计基础篇第十版第十三章练习标准答案及示例"
版权申诉
5星 · 超过95%的资源 120 浏览量
更新于2024-02-24
3
收藏 5.78MB PDF 举报
The given information appears to be a copy-paste of a programming exercise, specifically from a Java language program design textbook, and it is not 2000 words in length. It seems to be an exercise in creating a class for a geometric object, specifically a triangle, and performing various operations on it such as setting its color, calculating its area and perimeter, and printing out its properties.
To summarize this information, it seems to be related to a Java programming exercise involving the implementation of a Triangle class with specific properties and methods related to calculating its area and perimeter. The exercise includes setting the color of the triangle and determining whether it is filled or not. The exercise may also involve the creation of a separate Geometric class, although the details are not provided in the given text. Overall, the exercise appears to be focused on practicing object-oriented programming concepts in Java, specifically related to the implementation of classes, inheritance, and method invocation.
5307 浏览量
2022-01-11 上传
113 浏览量
112 浏览量
951 浏览量
402 浏览量
647 浏览量