L. P. with Microsoft C# - Level 3-Quiz-4

  1. An interface conceptually functions as a fully abstract class, even though it is not technically a class type at all.
  2. You have created a class that implements an interface, but some of the implementation of the methods of the interface is absent. What will happen?
    The compile will fail.
  3. Start each interface name with a capital I is the common convention used in naming Interfaces so that possible confusion with derived classes is avoided.
  4. When generating interfaces, Making sure the methods you have will be applicable for every class that will be implementing the interface is the tricky part.
  5. You are creating a class that implements multiple interfaces. A comma(,) separate these interface names from each other.
  6. When you are implementing an interface, you have two choices of what to do with each method specified in the interface. Provide implementation or mark as abstract are those two choices.
  7. the following functionalities included in the IDisposable interface:
    1. Closing database connections
    2. Releasing the contents of an array
    3. Freeing up resources that may consume large amounts of memory
  8. You have a class that implements an interface, and a reference variable cast to that interface using the interface as the type. Which methods can this reference variable access?
    Just the interface methods.
Permalink | Comments (0) | Hits: 1088 | Time: 18:30:30
Learning Programming with Microsoft C# - Level 3-4.5
Learning Programming with Microsoft C# - Level 3-5.1
All Comments

 No Data Now...

Post Your Comment
^ ^

Top