final修饰的属性是常量;
final修饰的方法不可以重写;
final修饰的类不可以继承。
Final有什么特点?
猜你喜欢
转载自blog.csdn.net/weixin_39690767/article/details/77624271
今日推荐
周排行