How do you use an abstract method?

To declare an abstract method, use this general form: abstract type method-name(parameter-list); As you can see, no method body is present. Any concrete class(i.e. class without abstract keyword) that extends an abstract class must override all the abstract methods of the class.

Sizin İçin Seçtik  What is an abstract class class?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you use an abstract method?

To declare an abstract method, use this general form: abstract type method-name(parameter-list); As you can see, no method body is present. Any concrete class(i.e. class without abstract keyword) that extends an abstract class must override all the abstract methods of the class.

Sizin İçin Seçtik  What is ASP.NET used for?

Leave a Reply

Your email address will not be published. Required fields are marked *