What is the difference between a class and interface?

A class describes the attributes and behaviors of an object. An interface contains behaviors that a class implements . A class may contain abstract methods, concrete methods. An interface contains only abstract methods.

Sizin İçin Seçtik  Can I install Django on Android?

Leave a Reply

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

What is the difference between a class and interface?

A class describes the attributes and behaviors of an object. An interface contains behaviors that a class implements . A class may contain abstract methods, concrete methods. An interface contains only abstract methods.

Sizin İçin Seçtik  How do you know if a class is inner class?

Leave a Reply

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