代码搜索:GetArea
找到约 243 项符合「GetArea」的源代码
代码结果 243
www.eeworm.com/read/116666/14959542
java spherecurveface.java
package brgeometry;
/**
* Title: Broundary Rrepresentaion
* Description: 球曲面也就是球面
* Copyright: Copyright (c) 2003
* Company: USTC
* @author unascribed
* @ver
www.eeworm.com/read/116666/14959550
java roundplaneface.java
package brgeometry;
/**
* Title: Broundary Rrepresentaion
* Description: 圆平面
* Copyright: Copyright (c) 2003
* Company: USTC
* @author unascribed
* @version
www.eeworm.com/read/212745/15150539
java shapetr.java
import java.awt.*;
import java.applet.*;
interface Shapes
{
abstract double getArea();
abstract double getPerimeter();
}
class Square implements Shapes
{
public int x,y;
public in
www.eeworm.com/read/212596/15152735
java circle.java
//Circle.java
class Circle
{
//定义程序运行常量π的值
public static final double PAI = 3.14;
//定义成员变量:圆的半径
public double radius;
//类的构造函数
public Circle( double radius)
{
this.radiu
www.eeworm.com/read/212271/15160861
txt 例6.5.txt
//例6.5:接口扩展举例。
interface Shape
{
double pi=3.14;
void setColor(String str);
}
interface Shape2D extends Shape
{
double getArea();
}
class Box implements Shape2D
{
double r,
www.eeworm.com/read/471193/6899022
cpp 1245aaa.cpp
#include
#include
#include
using namespace std ;
const int MaxNum=110;
int num[ MaxNum ][ 2*MaxNum+1 ];
char table[ MaxNum ][ 2*MaxNum+1 ];
int n;
void Ini
www.eeworm.com/read/368159/9708396
htm zinheritexample1.htm
Example
function Polygon(iSides) {
this.s
www.eeworm.com/read/368159/9708400
htm polygonexample.htm
Example
function Polygon(iSides) {
this.sides = iSides;
}
Polygon.prototype.getArea = function () {
r
www.eeworm.com/read/368159/9708405
htm dynamicprototypepolygonexample.htm
Example
function Polygon(iSides) {
this.sides = iSides;
if (typeof Polygon._initialized == "undefin
www.eeworm.com/read/368159/9708414
htm xbobjectsexample2.htm
Example
_classes.registerClass("Polygon");
f