1. public class Test{2. public static void main(String [] args){3. int x = 0;4. // insert code here5. do{ } while(x++ < y);6. System.out.println(x);7. }8. }Which option, inserted at line 4, produces the output 12?
A). int y = x;
B). int y = 10;
C). int y = 11;
D). int y = 12;
E). None of the above will allow compilation to succeed.
int y = 11;
x reaches the value of 11, at which point the while test fails.
x is then incremented (after the comparison test!), and the println() method runs.
Hence, choice A, B, D, E, and F are incorrect based on the above point.
1. A capacitor is measured in which of the following units?
2. Which part of the system performs the "housekeeping" chores?
4. Which of the following is not one of the major components of decision-support system?
5. Holes are the minority carriers in which type of semiconductor?
7. A CASE SQL statement is which of the following?
8. MySQL maintains metadata in the database meta_sql.
9. What will be the output of the following PHP code ?<?php<?phpecho "Hello world";?>?>