Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Calculator {
- int performAddition(int a,int b) {
- int result=a+b;
- return result;
- }
- int performSubtraction(int a,int b) {
- int result=a-b;
- return result;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement