Seems that I dont understand the requirements correctly, so what needs to be changed?
package de.codegym.task.task13.task1322;
/*
SimpleObject-Interface
*/
public class Solution {
public static void main(String[] args) throws Exception {
SimpleObject<String> stringObject = new StringObject();
}
interface SimpleObject<T> {
SimpleObject<String> getInstance();
}
public static class StringObject implements SimpleObject{
public SimpleObject<String> getInstance(){
return null;
}
}
}