The basis of the difference between Java interfaces, abstract classes, class, constructor, setXxx, getXxx, static variables and member variables, code blocks, this and the super, final keyword

interface:

 

11

 

Abstract class:

 

11

 

Construction method:

 

11

 

setXxx与getXxx:

111

 

Guess you like

Origin www.cnblogs.com/lihailong/p/11587480.html
Recommended