Search:

Type: Posts; User: abdoucasa

Search: Search took 0.11 seconds.

  1. Re: Having a java.lang.StringIndexOutOfBoundsException.

    Thanks for your help, Norm. I solved the problem. Here is the correct code according to my current level. I am a beginner in Java programming.


    {
    public static void main(String[] args)
    {
    ...
  2. Having a java.lang.StringIndexOutOfBoundsException.

    I am writing a code but I am getting a java.lang.StringIndexOutOfBoundsException: String index out of range: 2.Can anyone tell me what could be the reason for this exception?
    Thanks in advance.
    ...
Results 1 to 2 of 2