title: AsyncTask methods: I get error whether I write "@Override" annotation or not
body: <p>I am writing an Android client for consuming a SOAP based web service. I am using an <code>AsyncTask</code> for performing the networking (that is calling the webservice) operation. I am in the middle of writing the client.</p>
  
  <ol>
  <li><p>Now as I try to implement the <code>AsyncTask</code>'s <code>doInBackground</code> method,
  I get the following two errors at <code>protected String
  doInBackground(String[] params)...</code> <em>if I write</em> the <code>@Override</code>
  annotation with it:</p>
  
  <p><strong>The method doInBackground(String[]) of type MainActivity.MyTask must override or implement a supertype method. 1 Quick fix: Remove
  '@Override' annotation</strong></p>
  
  <p>and the following error at <code>private class MyTask extends
  AsyncTask...</code> :</p>
  
  <p><strong>The type MainActivity.MyTask must implement the inherited abstract method AsyncTask.doInBackground(String[]...).
  2 Quick fixes: Add unimplemented methods</strong> (this auto-generates the
  <code>doInBackground</code> method again <em>with the <code>@Override</code>
  annotation</em>)<strong>.</strong> <strong>Make type 'MyTask' abstract.</strong></p></li>
  <li><p><em>if I don't write</em> the <code>@Override</code> annotation, I get only the second error.</p>
  
  <pre><code>...
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          String [] params = {URL, METHOD_NAME, NAMESPACE}; 
      }
  
      private class MyTask extends AsyncTask&lt;String[], Void, String&gt; {
  
          //@Override write it or not write it? :s ****************
          protected String doInBackground(String[] params) {
              // TODO Auto-generated method stub
              return null;
          }
      }
  ...
  </code></pre></li>
  </ol>
  
  <p>What might be the reason behind this? What should I do?</p>