微信登录

修饰符 - final终值|implements实现|interface接口

修饰符 意思 作用
abstract 声明抽象
class 类
extends 扩充,继承
final 最终值,不可改变的
implements 实现(接口)
interface 接口
native 本地,原生方法(非 Java 实现)
new 新,创建
static 静态
strictfp 严格,精准
synchronized 线程,同步
transient 短暂
volatile 易失

final|最终值,不可改变的

implements|实现(接口)

interface接口

一个类可以实现多个接口
就有多重继承的效果
不可以有构造方法,所有不可以实例化