Home > Back-end >  The Java issue of interface instantiation
The Java issue of interface instantiation

Time:03-14

Dear bosses, the interface is not cannot be directly instantiated in Java using, through an implementation class to use? Why interface and can be used as methods return values? For example Java. Util. The map in the class keySet () method of the return value is Set interface, it is confused, heavyweight directions genuflect is begged
  • Related