Vidyalelo
C# Programming · Q143

Miscellaneous in C Sharp

Programming · C# Programming · question 143

Q143

Which among the given is not a correct way to call the method Issue() defined in the following C# code snippet? 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();
Answer
C.
using College.Lib;
Book b = new Book();
b.issue();
D.
All of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board