Array in Java | What is Array In Java | Understand Array | Array In Java Part 1

Опубликовано: 28 Июнь 2020
на канале: Pawan S Nair
103
10

follow me on:
Facebook:   / pawans.nair.7  
Instagram:   / pawan_s_nair  
Twitter:   / pawannair  
Linked in:   / pawan-nair-669860168  

In this video, we will be discussing the Array in java.

Why array?
when we need to store some value we declare variable and store it, but if we try to store multiple values for example 1000 values it will lead us to declare 1000 variable declaration which will reduce the code readability.
hence, in such a case, we need to use the array.

Define Array:
--------------------
The array is Indexed Collection of a fixed number of homogenous element

Advantages Of Array:
----------------------------------
1) Array helps to store multiple values by just using a single variable name
2) Array help in improving code readability

Disadvantages of Array:
--------------------------------------
1) Array size is fixed at the time of array creation the size specified will be fixed throughout the runtime
2) Array can't store different type of data


На этой странице сайта вы можете посмотреть видео онлайн Array in Java | What is Array In Java | Understand Array | Array In Java Part 1 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Pawan S Nair 28 Июнь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 103 раз и оно понравилось 10 зрителям. Приятного просмотра!