Note: (Restricted functionality due to obvious reasons!)
Minimal Code ( Raw-View ) :
import java.io.*;
class KBDemo
{
public static void main(String cmd[]) throws Exception
{
try
{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
System.out.println("Num 1 : ");
int a = Integer.parseInt(br.readLine());
System.out.println("Num 2 :");
int b = Integer.parseInt(br.readLine());
int c = a+b;
System.out.println("Sum "+a+"+"+b+" = "+c);
}
catch(Exception e)
{
System.out.println(cmd[0]+" Copied to "+cmd[1]);
}
}
}