Skip to content

Instantly share code, notes, and snippets.

@soudmaijer
Created April 8, 2021 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soudmaijer/45ca9bedc959382979a57febe85f529b to your computer and use it in GitHub Desktop.
Save soudmaijer/45ca9bedc959382979a57febe85f529b to your computer and use it in GitHub Desktop.
public class Calculator {
public int sum(int a, int b, int c) {
return a + b + c;
}
public static void main(String[] args) {
Calculator f = new Calculator();
System.out.println(f.sum(0, 1, 2));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment