Package: getSpecificationVendor() : Package « java.lang « Java by API
- Java by API
- java.lang
- Package
Package: getSpecificationVendor()
class PackageInfo {
public static void main(String[] args) {
Package p = Package.getPackage("java.lang");
System.out.println("Name = " + p.getName());
System.out.println("Implementation title = " + p.getImplementationTitle());
System.out.println("Implementation vendor = " + p.getImplementationVendor());
System.out.println("Implementation version = " + p.getImplementationVersion());
System.out.println("Specification title = " + p.getSpecificationTitle());
System.out.println("Specification vendor = " + p.getSpecificationVendor());
System.out.println("Specification version = " + p.getSpecificationVersion());
}
}
Related examples in the same category