char initial value in Java

前端 未结 6 1059
轮回少年
轮回少年 2020-12-08 19:21

You initialize an int variable defined within a method to have a value of 0 until you compute specific values for the int. What can on

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-08 20:09

    i would just do:

    char x = 0; //Which will give you an empty value of character
    

提交回复
热议问题