Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 10
at java.lang.String.substring(String.java:1935)
at exceptionprac.Excp.main(Excp.java:22)
Java Result: 1

I just want to know what is the meaning of Java Result: 1

isn't it printed out by your program?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.