Write a Java program to print the sum of two numbers



Java Code:
public class Exercise2 {
 public static void main(String[] args) {
  System.out.println(24+26);
 }
}


Sample Output:

50


Post a Comment

0 Comments