Can someone please refer me to a tutorial or better information that is required to be able to do these tasks?
I do find the answers in the help section but still very confused how it works and not sure what part I'm misunderstanding. I see that I am not the only one struggling with this topic. So if anyone in the meantime found better information in regards to this topic of Abstract classes and how to implement them I would very much appreciate it if you could share these with me!
package com.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<T> getInstance();
}
static class StringObject implements SimpleObject {
@Override
SimpleObject <String> getInstance(String s){
}
}
}