3、];System.out.println(n1+n2);}}import java.util.Scanner; public class NumberExceptionExample { Scanner input = new Scanner(System.in); public static void main(String[] args) { if(args.length<2){ System.out.println("数字少于两个,请输入两个数"); return; } try{ int a= input.nextInt(