函数 参数中有 final 含义

来源:互联网 发布:hybbs2.0论坛源码 编辑:程序博客网 时间:2024/06/05 21:07

-----final 修饰的 class 或者变量。都不与改变

  function( final int i){


表示 i 只读的,不许再函数 function中改变

}