“Java MCQ” Kode Jawaban

Java MCQ

int[] A = {0,2,4,1,3};
for(int i = 0; i < a.length; i++){
    a[i] = a[(a[i] + 3) % a.length];
}
raghad

MCQ Java

  What is the output of following code?        int i = 10;    if(i++ == i) 	 System.out.println(i + " is good");    else 	 System.out.println(i + " is bad");     int j = 20;    if(++j == j) 	 System.out.println(j + " is good");    else 	 System.out.println(j + " is bad");    
//11 is bad
//21 is good
Encouraging Elk

Jawaban yang mirip dengan “Java MCQ”

Pertanyaan yang mirip dengan “Java MCQ”

Lebih banyak jawaban terkait untuk “Java MCQ” di Java

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya