String [] s = {"A","Z","B"};
List l = Arrays.asList(s);
System.out.println(l);
I think it is not possible to create to create object of an interface. So what is the meaning of the line
List l = Arrays.asList(s);
List is an interface so how we can create object of List?