1.

Correct way to implement the interface given below? interface abc { string name { get; set; } } a) class emp :employee { private string str; public string firstname; { get { return str; } set { str = value; } } } b) class emp :implements person { private string str; public string firstname { get { return str; } set { str = value; } } } c) class emp: implements person { private string str; public string person.firstname { get { return str; } set { str = value; } } }

A. A
B. B
C. C
D. None of the mentioned
Answer» B. B


Discussion

No Comment Found