Dear Nataraj,
1-public class Test1
2-{
3-public static void main(
String args[])
4-{
5- int a[]=new int[5];
6- System.out.println(a[6]);
7-}
8-};
F:\Programs\Java\General>
java Test1
Exception in
thread "main" java.lang.ArrayIndexOutOfBoundsException
at Test1.main(Test1.java:6)
So as the above example says there was a problem at line 6 and thus the line number is the linbe # of Source file.
Cheers,
Gaya3