This is simple program that add 2 integer number and print the result
class Program
{
public static void main(String []args)
{
System.out.println(2+2);
}
}
OUTPUT
4
System.out.println(2+2) : this line just output the result 4.
class Program
{
public static void main(String []args)
{
System.out.println(2+2);
}
}
OUTPUT
4
System.out.println(2+2) : this line just output the result 4.
No comments:
Post a Comment