Niharika IT Solution

BOOK /NOTES/NEWS

Java Program to Add Two Integers

 class Main {

 public static void main(String[] args) {

    int first = 10;

    int second = 20;

    int sum = first + second;

    System.out.println(first + " + " + second + " = "  + sum);

  }

}