Guest User

Untitled

a guest
Dec 11th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public class AddNumbers{
  2. public static void main(String[] args) {
  3. System.out.println("Addition of two numbers!");
  4. int a = Integer.parseInt(args[0]);
  5. int b = Integer.parseInt(args[1]);
  6. int sum = a + b;
  7. System.out.println("Sum: " + sum);
  8. }
  9. }
Add Comment
Please, Sign In to add comment