Explain Abstract Class.

 Abstract Class

  • Classes can be declared as abstract by using the keyword abstract.
  • Abstract classes are one of the essential behaviors provided by. NET.
  • If you like to take classes that only represent base classes, and don’t want anyone to create objects of these class types, use an abstract class to implement such functionality.
  • Objects of this class can be instantiated but can make derivations of this.
  • The derived class should implement the abstract class members.



Comments

Popular posts from this blog

What are different steps used in JDBC? Write down a small program showing all steps.

Discuss classification or taxonomy of virtualization at different levels.

Pure Versus Partial EC