News

package dustin.examples; import static java.lang.System.out; /** * Simple class demonstrating in-code access of package-specific information as * specified in the Manifest file.
The java.lang.Package class provides a method called isCompatibleWith(String version), allowing the specification version of a component to be checked programmatically.
However, to use any classes in packages other than java.lang in your code, an import is required. The Scanner class is found in the java.util package, not java.lang. Since the Scanner class is found ...