Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: StringIndexOutOf Download
 Description: Personal original code: Java exception handling procedures.Write java application procedures, refer to the following program, try to modify the program to capture the relevant exception, makes the program run normally. Tip: test with the wrong data, you can get the name of the exception class, the main method arguments in the run-time input abc test] public class StringIndexOutOf { public static void main (String args []) { System.out.println ("String index out of bounds exception") String str = args [0] System.out.println ("The fourth character is" the+ str.charAt (3)) an int aa = Integer.parseInt (args [0]) System.out.println ("square"+ aa* aa) of } }
 Downloaders recently: [More information of uploader plum.0602]
 To Search:
File list (Check if you may need any files):
StringIndexOutOf.java
本Java程序设计详细要求.txt
    

CodeBus www.codebus.net