SPIRO THE TECH GURU

Back

What is the difference between import and static import?

By Admin on

The import allows the java programmer to access classes of a package without package qualification whereas the static import feature allows to access the static members of a class without the class qualification. The import provides accessibility to classes and interface whereas static import provides accessibility to static members of the class.
SPIRO Google Plus