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 PRQS
B QPRS
C
PQRS
D RPQS
Share : |
A cd
B ab
C ef
D gh
Share : |
A private
B protected
C static
D final
E volatile
Share : |
A final void madness(short stop);
B transient short stop = 23;
C public static short stop = 23;
D protected short stop = 23;
Share : |
A Compilation fails.
B x = 1
C x = 0
D An exception is thrown at runtime.
Share : |
A A ClassCastException will occur. B i = 3
C i = 5
D Compilation fails.
Share : |
A An exception is thrown at line 3.
B Class A
C Compilation fails.
D The code executes with no output.
Share : |
A 1
B 2
C Compilation fails.
D 0
Share : |
A Compilation fails.
B 1
C 0
D 2
Share : |
A
False
B
True
Share : |