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