jvac -d classname.java
There are almost 200 packages in the standard J2SE distribution. Please see the related link below detailing the Java API (for Java 7) for a full listing.
No.
1.user defined packages 2.predefined packages
basically packages are a collection or a directory of similar classes. there are some inbuilt packages in java which prove to be really useful like the java.lang package which automatically is imported into your program. in addition you can also create your own packages and its really simple to create them! :)
by adding more documents
Java Classpath is a parameter that tells the Java Virtual Machine or the Java Compiler, where to search for user-defined classes and packages on a computer.
Belenois java was created in 1768.
Join Java was created in 2000.
Java Barn was created in 1993.
West Java was created in 1950.
San i java was created in 1999.
Java packages can be imported using the import key word in java. There are two ways of importing java programs. 1. you can import the class along with the fully classified class name. Ex: import java.lang.String; 2. you can import all classes in a package using the star symbol. Ex: import java.lang.*;