title: what is "This array-name does not have a '[' behind it "?
body: <pre><code>class Input{
    static char[] InputALine( String c ) throws Throwable{
    char []sLine = new char[100];
    if(c.equlas("a")){
      int i = 0 ;
      sIn = G.sIn.ReadChar();
      while ( sIn != '.' ) {
        sLine[i] = sIn;
        i++;
        sIn = G.sIn.ReadChar();
      }
    }
     return sLine; &lt;-- problem
    }
  }
  
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>sLine
  
  This array-name does not have a '[' behind it 
  </code></pre>
  
  <p>I'm new to Java, I use <code>return sLine</code> and <code>return sLine[]</code>. </p>
  
  <p>It still doesn't work.I want to return char array from InputALine( .. )</p>
  
  <p>I don't know what's going on.</p>