Directions to Solve In questions below, each passage consist of six sentences. The first and sixth sentence are given in the begining. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences. A
PQRS
B RPQS
C PRQS
D QPRS
Share : |
A ef
B ab
C cd
D gh
Share : |
A static
B volatile
C final
D protected
E private
Share : |
A final void madness(short stop);
B transient short stop = 23;
C protected short stop = 23;
D public static short stop = 23;
Share : |
A Compilation fails.
B x = 0
C x = 1
D An exception is thrown at runtime.
Share : |
A A ClassCastException will occur. B Compilation fails.
C i = 3
D i = 5
Share : |
A Class A
B Compilation fails.
C The code executes with no output.
D An exception is thrown at line 3.
Share : |
A 2
B 0
C Compilation fails.
D 1
Share : |
A 1
B 2
C 0
D Compilation fails.
Share : |
A
True
B
False
Share : |