SyntaxFix
Write A Post
Hire A Developer
Questions
In general for AnInterface and anInstance of any class:
AnInterface
anInstance
AnInterface.class.isAssignableFrom(anInstance.getClass());