Main.java:26: error: class MainJ is public, should be declared in a file named MainJ.java
public class MainJ {
^
Main.java:12: error: Impl is not abstract and does not override abstract method <T>getList(List<String>) in Dao
class Impl implements Dao {
^
where T is a type-variable:
T extends Object declared in method <T>getList(List<String>)
Main.java:14: error: name clash: getList(List<String>) in Impl and <T>getList(List<String>) in Dao have the same erasure, yet neither overrides the other
public List<Product> getList(List<String> idList) {
^
where T is a type-variable:
T extends Object declared in method <T>getList(List<String>)
Main.java:13: error: method does not override or implement a method from a supertype
@Override
^
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors