FileDocCategorySizeDatePackage
AreaHandler.javaAPI DocExample391Tue Oct 09 11:03:40 BST 2001com.ecerami.xmlrpc

AreaHandler.java

package com.ecerami.xmlrpc;

public class AreaHandler {

	public String areaTester(String value) {
		return "Area: " + value;
	}

	public Double rectArea(double length, double width) {
		return new Double(length*width);
	}

	public Double circleArea(double radius) {
		double value=(radius*radius*Math.PI);
		return new Double (value);
		//return new Double (radius);
	}

}