Preview:
public class LabTask4 
{ 
public static void main(String args[]) 
 { 
int x=Integer.parseInt(args[0]);
int y=Integer.parseInt(args[1]);
int sum=x+y;
System.out.println("Sum of two numbers is:"+sum);
 } 
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter