loly party wrote:FileInputStream fstream = new FileInputStream(filename);
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
String filename = children[i];
run:
1., 3171.
Error: 3934.ixf (The system cannot find the file specified)
2., 3426.
3., 3780.
4., 4462.
5., 4899.
6., 4681.
7., 4761.
8., 3546.
9., 3525.
10., 3735.
11., 3658.
12., 5701.
13., 3198.
14., 3543.
15., 3751.
16., 5403.
17., 6186.
18., 5167.
19., 4894.
20., 3832.
21., 3829.
22., 4437.
23., 4126.
24., 3821.
25., 4070.
26., 4058.
27., 4126.
28., 3641.
29., 3387.
30., 3315.
31., 4018.
32., 5231.
33., 4919.
34., 3587.
35., 3859.
36., 4001.
37., 3811.
38., 4157.
39., 4191.
40., 4187.
41., 3142.
42., 195.
BUILD SUCCESSFUL (total time: 0 seconds)
Dhan Priyan wrote:String filename = children[i];
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
run:
E:\java\check\100130.ixf
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
at java.lang.String.substring(String.java:1935)
at CompareList.main(CompareList.java:84)
BUILD SUCCESSFUL (total time: 0 seconds)
run:
E:\java\check\100130.ixf
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
at java.lang.String.substring(String.java:1935)
at CompareList.main(CompareList.java:84)
BUILD SUCCESSFUL (total time: 0 seconds)