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 PRSQ
B PSQR
C SQRP
D RPSQ
Share : |
A 130
B A0
C B0
D 90
Share : |
A 3 2
B 8 3
C 11 6
D 11 10
E The program will not compile successfully.
Share : |
A The program will report compilation error.
B The program will run successfully giving the output 66 65.
C The program will run successfully giving the output 65 66.
D The program will run successfully giving the output 66 65 65 131 196.
E The program will produce the output 66 65 infinite number of times (or till stack memory overflow).
Share : |
A The program will print the output 0.
B The program will print the output 10.
C The program will print the output 30.
D The program will print the output 40.
E The program will report compile time error.
Share : |
A The program will print the output x = 65.
B The program will print the output x = 66.
C The program will print the output x = 130.
D The program will print the output x = 180.
E The program will not compile successfully.
Share : |
A The program will print the output 0.
B The program will print the output 120.
C The program will report run-time error.
D The program will report compile-time error.
E The program will print the output garbage value.
Share : |
A 65 65 65
B 65 66 67
C A A A
D A B C
E The program will report compile time error.
Share : |
A A A A
B A B A
C A B C
D Garbage Garbage Garbage
E The program will report compile time error.
Share : |
A It will not compile because class body of Birds is not defined.
B It will not compile because class body of Peacock is not defined.
C It will not compile because a class cannot be protectedly inherited from other class.
D It will compile succesfully.
Share : |