Computer JAVA Quiz

Which Element is num[9] of the array num?
8th
10th
9th
11th
A default constructor has _______
No parameters
Two parameters
One parameter
Multiple parameters
Which of the following loop executes at least once?
While
Do-while
For
None
What will be the postfix form of given infix notation: (A+B*C) - (E*F/H) + J
ABC+*EFH*/-J+
ABC*+EF*H/-J+
ABC*+EF*H/+J-
ABC*+EFH/-J+*
The statement (1>0) || (1<0) evaluates to---------
0
1
False
True
When int y=8; then find the value of y in given expression: y+= ++y + y -- + --y;
32
31
35
33
Which of the following is not a jump statement in java?
Break
Jump
Return
Continue
Which of the following for loops will cause the body of the loop to be executed 10 times?
For(int i=0; i<=10; i++)
For(int i=0; i>10; i--)
For(int i=1; i<10; i++)
For(int i=0; i<10; i++)
Name the method that can convert a string into its integer equivalent.
Integer.parseInteger()
Integer.parseInt()
Integer.getInt()
Integer.readInt()
Give the output of the following statement: System.out.println("WONDERFUL".substring(3,4));
DER
DE
R
D
{"name":"Computer JAVA Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Which Element is num[9] of the array num?, A default constructor has _______, which of the following loop executes at least once?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.