Content deleted Content added
No edit summary |
|||
Line 80:
;<code>import</code>{{Anchor|import}}
:Used at the beginning of a [[source file]] to specify classes or entire [[Java package]]s to be referred to later without including their package names in the reference. Since J2SE 5.0, <code>import</code> statements can import <code>static</code> members of a class. A [[Java Platform Module System|Java module]] may itself be imported, automatically importing all exported packages.<ref>{{Cite web|url=https://openjdk.org/jeps/494|title=JEP 494: Module Import Declarations (Second Preview)|website=openjdk.org}}</ref>
;<code>instanceof</code>
Line 163:
:Used in a module declaration to specify which packages are available to other modules.
;<code>[[
:Declares a [[Modular programming|module]] (a collection of related packages and resources that can be treated as a unit), used to encapsulate and expose only the public API of a library.
;<code>non-sealed</code>
|