Jaiva Package
For example there can be two classes with name employee in two packages college staff cse employee and college staff ee employee.
Jaiva package. In java we use packages to organize our classes and interfaces. Package in java can be categorized in two form built in package and user defined package. Indian organic farmers producer company limited marvar junction aluva perumbavoor ksrtc road aluva 683101 kerala phone. A package can be defined as a grouping of related types classes interfaces enumerations and annotations providing access protection and namespace management.
A package in java is used to group related classes. The java tutorials have been written for jdk 8. Description jiva jiva plus jiva surf jiva supreme voice minutes 130 130 200 200 data 1. Java packages api.
Built in packages packages from the java api user defined packages create your own packages. A java package is a group of similar types of classes interfaces and sub packages. Examples and practices described in this page don t take advantage of improvements introduced in later releases and might use technology no longer available. Think of it as a folder in a file directory.
Packages are used for. Do i have java. Package in java is a mechanism to encapsulate a group of classes sub packages and interfaces. We have two types of packages in java.
Packages are divided into two categories. You can put your types in packages too. Built in packages and the packages we can create also known as user defined package. A package as the name suggests is a pack group of classes interfaces and other packages.
Making searching locating and usage of classes interfaces enumerations and annotations easier. Uninstall about java. The types that are part of the java platform are members of various packages that bundle classes by function. See jdk release notes for information about new features enhancements and removed or deprecated options for all jdk releases.
Packages are used in java in order to prevent naming conflicts to control access to make searching locating and usage of classes interfaces enumerations and annotations easier etc. Java download what is java. There are many built in packages such as java lang awt javax swing net io util sql etc.