String arrays in Java, how to declare and init in one line

preview_player
Показать описание
A quick look at String arrays in Java, and how to declare and initialize in one line.
Рекомендации по теме
Комментарии
Автор

Helpful video, thank you. Would be interesting to know what goes on behind the scenes when we use the curly brackets instead using the new operator. Does the compiler automatically know that we are pointing to an array object on the heap?

yasamanderiszadeh
welcome to shbcf.ru