File
Doc
Category
Size
Date
Package
CalculatorBean.java
API Doc
JBoss 4.2.1
1639
Fri Jul 13 20:55:14 BST 2007
org.jboss.tutorial.http_https.bean
CalculatorBean
java.lang.Object
public class CalculatorBean extends Object implements Calculator
Fields Summary
Constructors Summary
Methods Summary
public
int
add
(
int
x,
int
y)
return x + y;
public
int
divide
(
int
x,
int
y)
return x / y;
public
int
subtract
(
int
x,
int
y)
return x - y;
Java Code Source