文件名称:Trival
介绍说明--下载内容来自于网络,使用问题请自行百度
一个关于等边三角形的类Trival如下,其中的属性包括三角形的bian,方法包括:默认构造方法、为bian指定初值的构造方法、获取三角形面积findArea()。试利用方法覆盖的知识,设计三棱柱体类TriCylinder。(其中findArea()为计算三棱柱体的表面积)-Equilateral triangle on a class Trival below, which properties include triangles bian, the method comprising: a default constructor, the initial value is specified constructor bian, get the triangle area findArea (). Try using the method of covering knowledge, triangular prism design class TriCylinder. (Wherein findArea () to calculate the surface area of the triangular prism)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Trival.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
