国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

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

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