Java Array Part-1 (length vs length(), default value array, different ways to declare array)

preview_player
Показать описание
This video demonstrates the practical examples of array in java.

In this video following concepts explained with practical example.
1. Array index starts from 0. if array size is 10 then range is from 0 to 9.
2. length vs length()
3. default value of array type
4. different ways to declare an array

int, byte and short array has default value 0
float and double array has default value 0.0
boolean array has false
char array has default value space
String array has default value null
Class array has default value null

For Learning More about Programming
Рекомендации по теме
Комментарии
Автор

I am loving these tutorials Dr. Shukla. Need to practice to pass coding interview. Thanks.

bootcamprag
Автор

I just subscribed. This is really helpful, I appreciate it.

_Anna_Nass_