What is Package in Java ?

Discussion in 'Packages & Wrapper Classes' started by vbraojava, Sep 10, 2008.

  1. vbraojava

    vbraojava New Member

    A Package is a namespace that contains a set of related classes and interfaces.

    Basic Packages :

    java.lang : Fundamental classes are presnt in this package.
    java.io : classes for reading and writing (input and output) are presnt in this package.
     
  2. madhavan

    madhavan New Member

    Package is a Collection Of Classes and Interface . packages are used to avoid naming collision .
     
  3. theyouthexpress

    theyouthexpress New Member

    Packages are the collection of classes and interface in Java........
    ____________________________

    Career Magazine for the youth........
     
  4. anneroberts

    anneroberts Member

    A Package is a namespace that sorts out an arrangement of related classes and interfaces. Adroitly you can consider bundles being like diverse organizers on your PC. You may keep HTML pages in a single organizer, pictures in another, and contents or applications in yet another.
     

Share This Page