This example defines the Circle and Rectangle classes, which both inherit from the Shape class, and the Square class, which inherits from the Rectangle class.
英
美
释义
此示例定义Circle类和Rectangle类(它们是从Shape类继承的)以及Square类(它是从Rectangle类继承的)。
把海词放在桌面上,查词最方便
触屏版
|
电脑版
©2003 - 2025 海词词典(Dict.cn)
立即下载