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

  1. You have a class the provides and defines some basic functionality that you want to use elsewhere. you can  Derive another class from that class  to accomplish this.
  2. Every class in C# derives from a single class. Object is the name of this class.
  3. You want to create a sub-class from multiple base classes and aggregate their functionality together. A sub-class may only have one base class is the limit.
  4. : (colon) is the operator that is used to join a base class with its sub-class, and is read as "derive from" or "extends".
  5. Protected type of accessibility allows access only by the base class and any sub-classes that directly derive from that base class.
  6. Virtual is the type of method that can have its implementation overridden by a derived class.
  7. A Virtual Method must have implementation, or a body. An Override method also need to have implementation, or a body.
  8. You want to create a class that cannot be extended, meaning that no classes may be derived from this class. This type of class is called Sealed.
  9. Abstract kind of method has no body, or implementation, and can act as a contract, in that any derived class must have an implementation for the specific class methods.
  10. When a class has an abstract method in it, It must  be defined as Abstract  by default.
Permalink | Comments (0) | Hits: 1044 | Time: 22:50:34
Learning Programming with Microsoft C# - Level 2-3.7
Learning Programming with Microsoft C# - Level 3-1.1
All Comments

 No Data Now...

Post Your Comment
^ ^

Top