GSSP-NET · Question #466
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…
The correct answer is 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. See the full explanation below for the reasoning.
Question
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.
Options
- AThe Manager class must implement the Method1 method.
- BThe Manager class implements the HeadOfDept interface.
- CThe Manager class must implement the Method2 method.
- DThe Method1 method can have any access modifier.
How the community answered
(36 responses)- A86% (31)
- D14% (5)
Community Discussion
No community discussion yet for this question.