MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following statments are the correct way to call the method Issue() defined in the code snippet given below? namespace College { namespace Lib { class Book { public void Issue() { // Implementation code } } class Journal { public void Issue() { // Implementation code } } } } College.Lib.Book b = new College.Lib.Book(); b.Issue(); Book b = new Book(); b.Issue(); using College.Lib; Book b = new Book(); b.Issue(); using College; Lib.Book b = new Lib.Book(); b.Issue(); using College.Lib.Book; Book b = new Book(); b.Issue(); |
| A. | 1, 3 |
| B. | 2, 4 |
| C. | 3 |
| D. | 4, 5 |
| Answer» B. 2, 4 | |