Question: in C# The is a relationship is associated with: inheritance interfaces polymorphism encapsulation all of the above 1 points QUESTION 2 To avoid having to
in C#
The is a relationship is associated with:
| inheritance | ||
| interfaces | ||
| polymorphism | ||
| encapsulation | ||
| all of the above |
1 points
QUESTION 2
To avoid having to type the full name including the namespace of referenced classes, you could:
| Add a reference to the class. | ||
| Add an import statement for the class. | ||
| Add a using directive. | ||
| Inherit from the class. | ||
| Package the classes in the same solution. |
1 points
QUESTION 3
Classes can extend or derive from ______________ class(es) and implement ______________ interface(s).
| one, one | ||
| many, one | ||
| many, many | ||
| one, many | ||
| one, twelve |
1 points
QUESTION 4
_____ allows a method of a class to be called without regard to what specific implementation it provides.
| Polymorphism | ||
| Abstraction | ||
| Assemblies | ||
| Versioning | ||
| Class libraries |
1 points
QUESTION 5
Using the declaration shown below, which of the following statements is true? public class aClass : bClass, IClass
| IClass is an interface. | ||
| aClass is the derived class. | ||
| bClass is the base class. | ||
| all of the above | ||
| none of the above |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
