what is difference between import and static import in java

preview_player
Показать описание
what is difference between import and static import in java?
---------------------------------------------------------
Useing import, we are able to access classes and interfaces which are present in any package. But using static import, we can access all the static members (variables and methods) of a class directly without explicitly calling class name.
ex:
static import
Рекомендации по теме
Комментарии
Автор

Explanation is Good But some sound disturbance in back side...

vineeshareddy
visit shbcf.ru