What parameters should be in abstract method
<p>I have one abstract Class <code>Client</code> and 4 children <code>Client1</code> <code>Client2</code> ...</p>

<p>each of this client line:</p>

<pre><code>    response = service.iszr(params);
</code></pre>

<p>where response and params depends on class</p>

<p>in Class1 this is</p>

<pre><code>Client1ResponseType response
Client1params params
</code></pre>

<p>now I want to add to the abstract class method:</p>

<pre><code>  protected abstract void sendRequest(?? response, ?? params);
</code></pre>

<p>but I dont know what type should be</p>

<p>I try somethink like this:</p>

<pre><code>  protected abstract &lt;I, O&gt; void sendRequest(I input, O output);
</code></pre>

<p>and in children</p>

<pre><code>  @Override
  protected &lt;Client1ResponseType, Client1params&gt; void sendRequest(Client1ResponseType input,
      Client1params output) {
    output = service.iszrRobCtiAifo(input);
  }
</code></pre>

<p>but with no succes. There is compilation error. What I am doing wrong ?</p>
