public class Calculator extends Object
| Constructor and Description |
|---|
Calculator() |
| Modifier and Type | Method and Description |
|---|---|
String |
calculate() |
float |
getAverage() |
int |
getMark1() |
int |
getMark2() |
int |
getTotal() |
void |
setAverage(float average) |
void |
setMark1(int mark1) |
void |
setMark2(int mark2) |
void |
setTotal(int total) |
public int getMark1()
public void setMark1(int mark1)
public int getMark2()
public void setMark2(int mark2)
public int getTotal()
public void setTotal(int total)
public float getAverage()
public void setAverage(float average)
public String calculate()
Copyright © 2015 WSO2 Inc. All rights reserved.