Section 8.12 static Import
• A static
import declaration (p. 342) enables you to refer to imported static
members without the class name and a dot (.
). A single static
import declaration imports one static
member, and a static
import on demand imports all static
members of a class.
Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.