IdiotsDiary

IdiotsDiary

Share

JS Series#8: Arrays in JS 12/02/2022

Important concept of and in .
Read and follow in medium for articles on javascript.

JS Series#8: Arrays in JS Collections of Data

Boolean in JS 07/02/2022

Avoid most of your mistakes while you code with
Small but must read article in

Boolean in JS Everything about Boolean values in JS

IdiotsDiary | Learn - Explore - Practise Programming 04/07/2020

What is the output of this question?

class Test2 {
public

static void main(String[] args)

{

int arr[][] = { { 11, 22 }, { 33, 44, 55 } };

for (int i = 0; i < 2; i++) {

for (int j = 0; j < arr.length; j++)

System.out.print(arr[i][j] + " ");

System.out.println();

}

}
}

Option
A) 11 22
33 44 55
😎 11 22
33 44
C) Error
D) Exception



For more questions and tutorials please visit:-

IdiotsDiary | Learn - Explore - Practise Programming Learn java, c programming, html-5 and programming languages with example and exercise questions and practice sets that helps to achieve your goals.

Want your school to be the top-listed School/college in Jaipur?
Click here to claim your Sponsored Listing.

Category

Telephone

Address


64/347 Heera Path, Mansarovar
Jaipur
302020