Some True Statement

  1. Override method is used to provide implementation of abstract method
  2. We cannot use static or virtual modifiers to declare abstract methods.
  3. Declaration of abstract methods is limited only to the abstract class
  4. Abstract classes can be inherited in derived classes
  5. Abstract classes can not be instantiated
  6. Abstract classes can contain both definition and body
  7. all the members, properties, methods defined inside it must be declared static.
  8. static class constructors must be private
  9. members, properties and methods are accessed with static class name
  10. sealed classes can be instantiated
  11. sealed keyword is used for declaring class
  12. sealed classes are used to restrict the inheritace feature of oop
  13. sealed classes are primarily used to prevent derivation

results matching ""

    No results matching ""