You have open the { brace and return false; unnecessarily. Because you don't create any method

you create the code like this..



if (W.charAt(i) != W.charAt(N-1-i))
{
...