Q.86- In Java, an Array index starts with __ .
a. 1 b. 0
c. –1 d. None of these
Q.87 If A[ ] = {3, 4, 9, 7}
then what will be output of the
following statement?
System.out.println(A[2] –2);
a. 7 b. 3
c. 4 d. None of these
Q.88- While declaring an array
brackets are used.
a. [ ] b. { }
c. ( ) d. None of these
Q.89- If the index of last element of an array
is 9 then the size of the array is :
a. 10 b. 9
c. 8 d. None of these
Q.90- The index of second element of an
array of p elements is :
a. p - 2 b. 1
c. 2 d. None of these
Q.91- The index of last element of an array
of p elements is :
a. p b. p - 1
c. 0 d. None of these
Q.92- The keyword "continue" is a/an :
a. selection construct
b. iterative construct
c. jump construct
d. None of these
Q.93- An"if" statement is :
a. multi branching
b. Bi-directional
c. loop
d. None of these
Q.94- Which one of the following is not an
entry controlled loop?
a. do-while b. while
c. for d. None of these
Q.95- In switch-case block, in the absence
of a break statement, situation arises
is called :
a. fall through b. dangling else
c. error d. None of these
Q.96- If an index of an element is N, what is
its actual position in the array?
a. N b. N – 1
c. N + 1 d. None of these
Answers
Answered by
0
Answer:
sorry i don't now its not clear
Similar questions