Which of the following statements about the application are true?

Posted by: Pdfprep Category: GSSP-.NET Tags: , ,

Daniel works as a Software Developer for GenTech Inc. He develops an ASP.NET application, named

App1, using Visual Studio .NET. He creates an interface in App1, named Employees. The Employees interface contains declaration for a method, named Method1. Daniel creates another interface, named HeadOfDept. HeadOfDept inherits from the Employees interface and contains the declaration for a method, named Method2.

He then creates a class named Manager as follows:

public class Manager: HeadOfDept

Which of the following statements about the application are true? Each correct answer represents a complete solution. Choose all that apply.
A . The Manager class must implement the Method1 method.
B . The Manager class implements the HeadOfDept interface.
C . The Manager class must implement the Method2 method.
D . The Method1 method can have any access modifier.

Answer: A,B,C

Leave a Reply

Your email address will not be published.