title: Java says this method has a constructor name
body: <p>I want to return the value of my array plus the return value of the recursive call.</p>
  
  <p>However for something reason java does not want to have the method name after the constructor.</p>
  
  <p>In addition when i tried to convert the method into another method, i get error when i use isPalindrome.</p>
  
  <p>I change my program around but I'm still getting errors.</p>
  
  <p><pre><code>
  public class isPalindrome
  {
      /**
       * This is the main entry point for the application
       * @return 
       */
      public static boolean main(String[] args) 
      {</p>
  
      String[] word = {"KayaK", "Desserts, I stressed"};
  
  
  
      boolean isPalindrome(String[] array, String s, String i)
      {
  
          if(i.charAt(0) == s.charAt(0))
          {
              System.out.println("You entered a Palindrome");
              return true;
          }
          else
          {
              System.out.println("You didn't entered a Palindrome");
          }
      }
  
  
          try 
          {
              System.in.read();
          } 
          catch (Throwable t) 
          {
  
          }
  }
  </code></pre>
  
  <p>}</p>