Why is Java assigning a variable the value 1 when I assigned it 0 when I had declared it?

后端 未结 0 1476
小鲜肉
小鲜肉 2020-12-15 01:37

As you can see in the image, I declared a variable (whyIsThisCrapAlways1) the value 0 when I initialized it. But then why is Java assigning it the value 1?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题