Created
April 8, 2021 09:10
-
-
Save soudmaijer/45ca9bedc959382979a57febe85f529b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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