亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Why do Java local variables need to be initialized?
巴扎黑
巴扎黑 2017-05-17 09:58:02
0
2
709

Why do Java local variables need to be initialized? As mentioned. Thanks.

巴扎黑
巴扎黑

reply all(2)
黃舟
  1. The compiler cannot pass

  2. If there is no initialization, just point to an address similar to c. So the direct compilation of java failed.

小葫蘆

Compared with global variables, local variables have a short life cycle and are declared many times. If an initial value is given like a global variable, it will affect performance. Not giving an initial value is unsafe, so we made a compromise and stipulated that users need to first Assign value and use again.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template