CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 搜索资源 - Shape 抽象

搜索资源列表

  1. hm6

    0下载:
  2. 抽象类的使用 设计一个类层次,定义一个抽象类--形状,其中包括有求形状的面积的抽象方法。 ----继承该抽象类定义三角型、矩形、圆。 ----编写一个主程序将一个三角形、矩形、圆存入一个数组中,将数组中各类图形的面积输出。-kind of abstract designs a class hierarchy, the definition of an abstract category -- shape, These include the shape of the area fo
  3. 所属分类:JSP源码/Java

    • 发布日期:2008-10-13
    • 文件大小:1021
    • 提供者:黄铭
  1. csharptrail

    0下载:
  2. 使用多种几何图形,如圆、矩形和三角形等,其中要包括计算面积的方法Area。请声明一个抽象类Shape,在Shape类中统一声明一个抽象方法Area-use a variety of geometric shapes, such as circular, triangular and rectangular, which would include the area of the calculation method Area. Please statement an abstract class
  3. 所属分类:Windows编程

    • 发布日期:2008-10-13
    • 文件大小:817
    • 提供者:盖新
  1. jinjinlab

    0下载:
  2. 用java实现类的继承关系,用shape抽象类,对一些刚刚学习java的人会有一些帮助,了解java类的继承机制-using java to achieve the kind of inheritance, and shape the abstract category, just learning some of the java there will be some help to understand java class inheritance mechanism
  3. 所属分类:JSP源码/Java

    • 发布日期:2008-10-13
    • 文件大小:1228
    • 提供者:jinjin
  1. 1354520

    0下载:
  2. 定义一个Shape抽象类,在此基础上派生出Rectangle和circle类,二者都有GetArea()函数计算对象面积,GetPerim()函数计算对象的周长。使用Rectangle类派生出一个新类Squre。
  3. 所属分类:数学计算/工程计算

    • 发布日期:2008-10-13
    • 文件大小:881
    • 提供者:ming wang
  1. 定义抽象基类Shape

    0下载:
  2. 一个程序,定义抽象基类Shape,由它派生出3个派生类:Circle(圆形)、Rectangle(矩形)、Triangle(三角形),用一个函数printArea分别输出以上三者的面积,3个图形的数据在定义对象时给定。-A program that defines an abstract base class Shape, which it derived three derived classes: Circle (Circular), Rectangle (rectangle), Trian
  3. 所属分类:其他小程序

    • 发布日期:2017-03-25
    • 文件大小:268301
    • 提供者:sword
  1. shape

    0下载:
  2. 一、声明一个Shape抽象类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()和GetPerim()函数,GetArea用来计算对象的面积,GetPerim用来计算对象的周长。封装上述各类,并编写测试程序。 -First, declare an abstract class Shape, on this basis, derived classes Rectangle and Circle, the two have GetArea () and GetPeri
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-01
    • 文件大小:517
    • 提供者:赵莹莹
  1. 分别定义图形类Shape(抽象基类)

    0下载:
  2. 分别定义图形类Shape(抽象基类),继承类矩形类Rectangle、正方形类Square、 圆形类Circle;并且计算周长和面积。在另一个main函数中分别创建矩形、 正方形和圆形对象,设置所需的属性值,打印其周长和面积。(备注:只要把该文件解压,把里面的东东COPY去即可使用)-Graphics categories are defined Shape (abstract base class), the succession of quasi-rectangular type R
  3. 所属分类:JSP源码/Java

    • 发布日期:2017-03-25
    • 文件大小:609
    • 提供者:logan
  1. Shape

    0下载:
  2. 抽象类Shape,抽象方法:计算面积和显示面积,派生子类矩形和三角形-Abstract class Shape, abstract methods: calculating the area and display area, derived subclass of rectangular and triangular
  3. 所属分类:GIS program

    • 发布日期:2017-03-31
    • 文件大小:1708
    • 提供者:luodi
  1. shape

    0下载:
  2. /*做一个抽象的shape类 有一个可计算面积的抽象方法 1.做矩形和圆形两个类继承shape类 各自计算面积 2.根据两种图形的面积求法各自设置成员变量 3.设置图形类 包含图形名字和一个shape类型的成员 变量 并含一个方法 实现shape类成员的面积操作 4.做一测试类 分别根据不同的shape类对象实现多态*/-/* Do an abstract shape class has a way to calculate the size of an abst
  3. 所属分类:绘图程序

    • 发布日期:2017-03-03
    • 文件大小:658
    • 提供者:柳婷婷
  1. shape

    0下载:
  2. Shape成为一个包含接口(供层次结构中的类使用)的抽象基类。从类Shape派生出二维形状类TwoDimensionalShape和三维形状类ThreeDimensionalShape,它们也都是抽象类,然后用虚函数print输出每个类的类型和维数。为了计算类层次结构中每个具体类的对象,这两个类中还要包括虚函数area和volume。最后再编写一个程序测试类Shape的层次结构-Shape into a contained interface (for the class hierarchy t
  3. 所属分类:Other systems

    • 发布日期:2017-03-29
    • 文件大小:245910
    • 提供者:大为
  1. 1

    0下载:
  2. 声明一个Shape抽象类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()和GetPerim()函数,GetArea用来计算对象的面积,GetPerim用来计算对象的周长。封装上述各类,并编写测试程序。-Declare an abstract class Shape, on this basis, derived classes Rectangle and Circle, the two have GetArea () and GetPerim () functio
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-03
    • 文件大小:645
    • 提供者:dhw
  1. Shape

    0下载:
  2. 定义抽象类Shape,抽象方法为showArea(),求出面积并显示,定义矩形类Rectangle,正方形类Square,圆类 Circle,根据各自的属性,用showArea方法求出各自的面积,在main方法中构造3个对象,调用showArea方法-Define abstract class Shape, abstract methods showArea (), find the area and showed that define the rectangle class Rectangl
  3. 所属分类:JavaScript

    • 发布日期:2017-04-13
    • 文件大小:2698
    • 提供者:胡迪
  1. shape

    0下载:
  2. 声明一个Shape抽象类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()和GetPerim()函数,GetArea用来计算对象的面积,GetPerim用来计算对象的周长。封装上述各类,-Declare an abstract class Shape, on this basis, derived classes Rectangle and Circle, the two have GetArea () and GetPerim () function, GetAr
  3. 所属分类:Windows Develop

    • 发布日期:2017-05-04
    • 文件大小:1079199
    • 提供者:onway
  1. 3.1

    0下载:
  2. 声明一个Shape抽象类,并派生出Rectangle和Circle类,计算面积和周长-Declare an abstract class Shape, and derived classes Rectangle and Circle, calculate area and perimeter
  3. 所属分类:Algorithm

    • 发布日期:2017-05-14
    • 文件大小:3558886
    • 提供者:张莉
  1. JavaApplication7

    0下载:
  2. 定义一个抽象类Shape代表一个形状类,具有一个计算形状的面积的抽象方法,一个具有计算形状的周长的抽象方法。定义一个Shape类的子类Circle类表示一个圆,,此类具有一个表示半径的成员变量,实现这个类,定义一个单独的类测试此类。定义一个Shape类的子类Retangle类表示一个矩形,,此类具有表示高和宽的成员变量,实现这个类,定义一个单独的类测试此类-Define an abstract class Shape represents a shape class, with a calcul
  3. 所属分类:Java Develop

    • 发布日期:2017-04-02
    • 文件大小:769
    • 提供者:陈春
  1. shape

    0下载:
  2. 对抽象类shape的具体实现,重点强调对定义的理解和运用。-Concrete realization of the abstract class shape, with emphasis on understanding and application of the definition.
  3. 所属分类:Java Develop

    • 发布日期:2017-04-07
    • 文件大小:1423
    • 提供者:wanghao
  1. shape

    0下载:
  2. 用抽象类来定义图形类,并具体实现为不同的图形-Graphical abstract class to define class and concrete realization of different graphics
  3. 所属分类:ELanguage

    • 发布日期:2017-11-26
    • 文件大小:586
    • 提供者:汤汤
  1. c1

    0下载:
  2. 声明一个Shape抽象类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()和GetPerim()函数,GetArea用来计算对象的面积,GetPerim用来计算对象的周长。-Declare an abstract class Shape, on this basis, derived classes Rectangle and Circle, the two have GetArea () and GetPerim () function, GetArea used
  3. 所属分类:software engineering

    • 发布日期:2017-04-14
    • 文件大小:4934
    • 提供者:江勇
  1. Shape

    1下载:
  2. 设Shape是圆、矩形、三角形共享的类,含有求圆的周长和面积的方法getCircumference()与getArea(),以及属性DEscr iptION以描述几何体的特征,试设计相关类圆、矩形、三角形类,并求圆、矩形、三角形的周长与面积。设计相应的测试类,求实际对象的面积与方法。(要求分别将Shape类用抽象、接口实现)-Let Shape is round, rectangular, triangular shared class containing the perimeter and
  3. 所属分类:Applet

    • 发布日期:2017-04-15
    • 文件大小:5825
    • 提供者:JACL
  1. du

    0下载:
  2. 定义一个包含两个纯虚函数的抽象类shape: class shape { public: virtual float Area()=0; virtual void SetData(float,float=0)=0; }; 成员函数SetData用于设置几何图形的属性值。成员函数Area()用于求出几何图形的面积。由shape派生出四种几何图形,分别是:三角形、矩形、正方
  3. 所属分类:网络编程

    • 发布日期:2017-12-25
    • 文件大小:1068032
    • 提供者:嘟嘟214
« 12 3 »
搜珍网 www.dssz.com