What is static import in Java? Explain

The static import feature allows the static member of a class to be accessed directly without using the qualified name. The biggest advantage of this feature is that less coding will be required if you have access to a static member.

Suggest An Answer

No suggestions avaliable!

Related Interview Questions