Java Tutorial Day 2 |Arrays | 1D Array | 2D Array | length of 2D Array | Selenium WebDriver

Опубликовано: 20 Октябрь 2020
на канале: total-qa
91
2

Day1:
------------
JAVA Introduction
Java Execution Flow
Variables
DataTypes
Conditional Statements
Examples:

Day1 Video Link:
   • Java Tutorial Day 1 |Introduction|Exe...  
Github Repo Link:
https://github.com/SELENIUMJAVATutorial
----------------------------------------------------------------------------------------------------------------------------
Day2 Array:
=======
Array is a datastructure useful to store multiple values of similar datatype

Syntax of Array:
-------------------
int array_name[] = new int[size];

There are two types of array.
1. Single Dimensional Array
2. Multi Dimensional Array



Declaration of Array:
------------------------------------
int arr[]
int arr[][]

Initialization of Array:
-----------------------------------
arr = new int[5];
arr = new int[5][5];


Accessing Array Elements:
-----------------------------
array[index]