0
seems it is possible, look at example you can create identifier with name of existed interface (List is interface), but then you cant use this interface normal way
import java.util.List;
...
List list = List.of(1,2,3,4,5);
System.out.println(list); // [1,2,3,4,5]
List List = list;
System.out.println(List); // [1,2,3,4,5]
List list1 = List.of(1,2,3,4,5); // error:
// illegal static interface method call
// the receiver expression should be replaced with the type qualifier 'List'
System.out.println(list1);



