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)
{
...
Type: Posts; User: abdoucasa
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)
{
...
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.
...