Saturday, 2 June 2012

packages

packages


packages are a collection of related class.there are mainly two types of packages are there,


  •  user defined packages
  •  pre defined packages


the main advantages of the package is to organize your classes in to a ordered manner,and easy to use this.

syntax for creating a user defined package


  package <package name>;
 

No comments:

Post a Comment