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