What's the difference between libraries and interfaces?
For example, in the line:
import java.util.Scanner;
Would util
be the interface and Scanner
of the class? Or would util
be the library and Scanner
would still be the class?
In the case of methods with @Override
it only makes sense when working with interfaces? In case of inheritance I do not know if you have so much reason.