public class Main { public static void main(String args[]){ System.out.println("Sum of two numbers:"+(12+12)); } }
Sum of two numbers: 24
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Write a Java program to display the system time
Write a Java program that takes two numbers and display the product of two numbers
Write a Java program to print the sum, multiply, subtract, divide and remainder of two numbers
Write a Java program and compute the sum of the digits of an integer
Write a Java program to compute the square root of an given integer