Is keyword necessary for abstract?

You can provide the keyword, though, but there won’t be any difference. Within abstract classes, however, when you want to denote a method as abstract , you’re required to type the abstract keyword . This actually makes the code more readable and easy to be understood.

Sizin İçin Seçtik  How do I download JDK?

Leave a Reply

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