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

Pubblicato il: 28 giugno 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online Array in Java | What is Array In Java | Understand Array | Array In Java Part 1 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Pawan S Nair 28 giugno 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 103 volte e gli è piaciuto 10 spettatori. Buona visione!