Packages & Modules
6 Topics
1
Packages
Examine Java package namespacing, directory structure mappings, and package boundary access control rules.
Focuses on unnamed default packages, directory-to-package structure mappings, and package access boundaries.
2
import Statement
Master-type imports vs wildcard imports, compile-time symbol resolutions, and wildcard namespace collisions.
Evaluates wildcard import compile-time resolution mechanics, runtime footprint impacts, and collision resolution techniques.
3
Static Import
Master static import syntax for static members, constant accessing, and architectural readability trade-offs.
Evaluates static import syntax vs regular imports, handling namespace conflicts between static imports, and coding readability standards.
4
CLASSPATH
Deconstruct the JVM classpath scanning mechanism, classloader searches, and classpath vs. modulepath flags.
Evaluates CLASSPATH vs. Modulepath differences, classloading delegation, and classpath shadowing issues (Jar Hell).
5
JAR Files
Analyze Java Archive packaging, manifest metadata manifest properties, Main-Class configurations, and archive compilation.
Evaluates manifest manifest file configurations, defining execution entry points (Main-Class), and command-line jar creation options.
6
Modules (Java 9+)
Master the Java Platform Module System (JPMS), module-info.java declarations, and strong encapsulation directives.
Highly tested: modular directives (requires, exports, opens), reflection boundaries (opens vs exports), and differences between modular and classpath code.