Loading topic
java.util.List. You should also know that an import declaration lets source code use a shorter name.3 min readmodule-info.java and the requires directive.3 min readimport java.util.List;, and use on-demand imports such as import java.util.*;. You should also know that a fully qualified name includes its package, for example java.util.List.3 min readimport module declaration.2 min readrequires.3 min readmodule-info.java and the requires directive.3 min readrequires java.sql;. The focus here is how Java chooses a type name when several imports make the same simple name available.3 min readmodule-info.java. A named module is a module with an explicit name in a module-info.java file.3 min readimport declarations. You should also know that --release selects the Java language level and standard API version used by the compiler.2 min readmodule-info.java declarations. This chapter focuses on compact source files and how their automatic imports differ from imports that you write yourself.3 min readimport java.util.List; and on-demand imports such as import java.util.*;. You should also know that a module can export packages and can read another module through requires.2 min read