MCQOPTIONS
Saved Bookmarks
| 1. |
Which among the given is not a correct way to call the method Issue() defined in the code snippet given below? class Book { public void issue() { /* code */ } } class Journel { public void issue() { /* code */ } } |
| A. | College.Lib.Book b = new College.Lib.Book(); b.issue(); |
| B. | Book b = new Book(); b.issue(); |
| C. | using College.Lib; Book b = new Book(); b.issue(); |
| D. | All of the mentioned |
| Answer» C. using College.Lib; Book b = new Book(); b.issue(); | |