java technical point summary of the basic blog

Generic understanding

Wildcard chat -JAVA generics T, E, K, V ,?

Classes, inheritance rules and implementation of interfaces

  • Only inheritance between classes, and is a single inheritance, can be multi-level inheritance
  • Between classes and interfaces can be implemented, a class can implement multiple interfaces
  • Between the interface and the interface can not be achieved inheritance, multiple inheritance can also be multi-level inheritance, but can not inherit class

The difference between abstract classes and ordinary classes

 

Guess you like

Origin www.cnblogs.com/htyj/p/11692504.html