Do object arrays in Java have default values?

后端 未结 0 1524
孤街浪徒
孤街浪徒 2020-12-17 02:52

If I construct:

Object[][] guy = new Object[5][4];

do the spots in my array have default values? Are they null?

Is there a way to a

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