Why do arrays in Java need to have a pre-defined length when Objects don't?

后端 未结 0 1166
萌比男神i
萌比男神i 2021-01-03 11:06

Sorry if this is a really stupid question, but hearing as "Java arrays are literally just Objects" it makes no sense to me that they need to have a pre-defined len

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