public static void printObjects(List<List<?>> args) {
}
public static void main(String[] args) {
List<List<String>> list = new ArrayList<>();
printObjects(list);
}
now you want List < list > is there any way to do this?