Skip to content

Instantly share code, notes, and snippets.

@rokon12
Created February 17, 2020 01:59
Show Gist options
  • Save rokon12/9e4f73a3b28105bf451480735ae536af to your computer and use it in GitHub Desktop.
Save rokon12/9e4f73a3b28105bf451480735ae536af to your computer and use it in GitHub Desktop.
package com.bazlur;
//type
public class Calculator {
// int 4 Byte
// float 4 byte 4.5
// double 8 byte
// long 8 byte
// 45
//
//
//
public int add(int a, int b) {
return a + b;
}
public int substract(int a, int b) {
return a - b;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment