2023.10.29
1.接口中的成员变量默认是public static final修饰的
2.成员变量不可用private、default、protected修饰
3.因为不能属于对象实例的定义方法体 ,所以不可能有成员变量的getter、setter方法,可见,成员变量属于类(static)
4.接口中可以实现default方法
标签:变量,default,成员,修饰,static,interface From: https://www.cnblogs.com/RynerLee/p/17796665.html