Java object-oriented keywords

private: private

final: end, defines an abstract method used in the interface

this: Who calls who directed the class

extends: ordinary class inheritance and abstract classes

abstract: abstract class defines the abstract methods and

interface: the definition of the interface, instead of the class keyword

implements: implementation class inherits the interface

instanceof: determining whether an object is a data type

Guess you like

Origin www.cnblogs.com/yanghaoyu0624/p/11540950.html