|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.bcit.cst.comp2526.assign2b.solution.AbstractOperation
ca.bcit.cst.comp2526.assign2b.solution.MultiplicationOperation
public class MultiplicationOperation
Abstract the multiplication of two numbers.
| Constructor Summary | |
|---|---|
MultiplicationOperation()
Construct an MultiplicationOperation. |
|
| Method Summary | |
|---|---|
int |
perform(int operandA,
int operandB)
Multiply operandA by operandB. |
| Methods inherited from class ca.bcit.cst.comp2526.assign2b.solution.AbstractOperation |
|---|
getCode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiplicationOperation()
| Method Detail |
|---|
public int perform(int operandA,
int operandB)
operandA - the first operand to multiply.operandB - the second operand to multiply.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||