I do not understand the question. Can someone please explain to me what we are suppose to do here? The question is not clear at all.
package com.codegym.task.task13.task1307;
/*
Parameterized interface
*/
public class Solution {
public static void main(String[] args) throws Exception {
}
interface SimpleObject<String> {
SimpleObject<String> getInstance();
}
public static class StringObject implements SimpleObject
{
public void StringObject<String> getInstance() {
//The StringObject class must implement
//the SimpleObject interface's getInstance method.
}
}
}