摘要: 修饰类 feinal关键字特点: 修饰类,类不能被继承 修饰变量,变量就变成了常量,只能被赋值一次 修饰方法,方法不能被重写 final修饰变量叫做常量们一般会与public static共用 class demo1_final { public static void main (String a 阅读全文
posted @ 2019-05-20 02:20 JungTan0113 阅读(161) 评论(0) 推荐(0) 编辑