Discussion :: Namespaces
-
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();
Answer : Option A
Explanation :
No answer description available for this question.
Be The First To Comment