what is difference between package and interface?
The basic difference between packages and interfaces is that a package contains a group of classes and interfaces whereas, an interface contains methods and fields. ...