MCQOPTIONS
Saved Bookmarks
| 1. |
If a class have default constructor defined in private access, and one parameter constructor in protected mode, how will it be possible to create instance of object? |
| A. | Define a constructor in public access with different signature |
| B. | Directly create the object in the subclass |
| C. | Directly create the object in main() function |
| D. | Not possible |
| Answer» B. Directly create the object in the subclass | |