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

Publié le: 28 juin 2020
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Array in Java | What is Array In Java | Understand Array | Array In Java Part 1 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Pawan S Nair 28 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 103 fois et il a aimé 10 téléspectateurs. Bon visionnage!