How do you find the class interface?

Using Reflection you can invoke the Class. getInterfaces() method which returns an Array of Interfaces that your class implements. You may also want to recurse on the interfaces extended by these interfaces.

Sizin İçin Seçtik  How many types of class are there in Java?

Leave a Reply

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