WHAT IS interface and why it is used?

Why do we use an Interface? It is used to achieve total abstraction . Since java does not support multiple inheritances in the case of class, by using an interface it can achieve multiple inheritances. It is also used to achieve loose coupling.10 Şub 2022

Sizin İçin Seçtik  Which technology will be used in 5G?

Leave a Reply

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