A package is a grouping of related types providing access protection and name space management. Note that types refers to classes, interfaces, enumerations, and annotation types. Enumerations and annotation types are special kinds of classes and interfaces, respectively, so types are often referred to in this lesson simply as classes and interfaces.
Packages are Java?s way of grouping a variety of classes / interfaces together. The classes contained in the packages of other programs can be easily reused. In packages, classes can be unique compared with classes in other packages. Thus, two classes in two different packages can have the same name. Packages provide a way to hide classes thus preventing other programs or packages from accessing classes that are meant for internal use only. for example - java.lang java.util
Package is a collection of .class files and java files 2)all the files in the package must be public. 3)the file must contain the keyword as "package". 4)a package can contain subpackege 5)we can use the classes in package by using import keyword.
Packages are group of inter-related classes.eg-In math class we can do addition ,subtractionetc. example of classes are:java.applet which is used for implementing and creating applets.
If my java based application is hanging once in a while. Where would you start looking at the problem, what changes can you do?
My application has a builtin Ldap client and is communicating with a Ldap server. now having a problem with the authentication, how should i start troubleshooting? I, being responsible for the application and the OS, what can i do?