MCQOPTIONS
Saved Bookmarks
| 1. |
For the code snippet shown below, which of the following statements are valid? |
| A. | Program will compile and on execution will print: CompSciBits 4.2 |
| B. | A non generic class Hello cannot have generic subroutine. |
| C. | Compiler will generate an error. |
| D. | Program will generate a run-time exception. |
| Answer» B. A non generic class Hello cannot have generic subroutine. | |