I am working on an application, which peovides interfaces to create
java classes (called DataSource)
there is a statement in documentation
Datasource implementations must implement at least one of these interfaces to be recognized by the Datasource framework
I am wondering , "what difference does it make to JVM , if this interface is implemented OR not ?" Wheer does this check happen ? If I am including all methods of an interface in a java class without implementing an interface, will that work ? If not, then how does JVM know that an interface has to be implemented ?
As long as all methods are included in a java class, what difference does it make if interface is implemented or not ?
Thanks