Can we create class of interface?

Yes, you can define a class inside an interface . In general, if the methods of the interface use this class and if we are not using it anywhere else we will declare a class within an interface.

Sizin İçin Seçtik  What are the types of inheritance in Java?

Leave a Reply

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

Can we create class of interface?

Yes, you can define a class inside an interface . In general, if the methods of the interface use this class and if we are not using it anywhere else we will declare a class within an interface.

Sizin İçin Seçtik  Zamanaşımı Def i re'sen dikkate alınır mi?

Leave a Reply

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