文件名称:E2Int
介绍说明--下载内容来自于网络,使用问题请自行百度
从命令行得到5个整数,放入一整型数组,然后打印输出,要求:如果输入数据不为整数,要捕获Integer.parseInt()产生的异常,显示“请输入整数”,捕获输入参数不足5个的异常(数组越界),显示“请输入至少5个整数”-Get 5 integers from the command line, placed in an array of integers, then print output, requirements: if the input data is not an integer, to capture the Integer.parseInt () to produce abnormal, shows "please enter an integer", captures the input parameters of the 5 exceptions (Array Bounds), shows "please enter at least 5 integer"
(系统自动生成,下载前可以参看下载内容)
下载文件列表
E2Int.java
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。