What have I wrong and why ? I think that I can't use "SimpleObject<T>" in line 16 but how I can change it so it still override it ?
package pl.codegym.task.task13.task1307;
/*
Parametryzowany interfejs
*/
public class Solution {
public static void main(String[] args) throws Exception {
}
interface SimpleObject<T> {
SimpleObject<T> getInstance();
}
class StringObject implements SimpleObject{
public String SimpleObject<T> getInstance(String a)
{
return a;
}}
}