Thursday, 18 October 2018

What is Java Package? - tccicomputercoaching.com

A java package is a group of similar types of classes, interfaces and sub-packages.

Package in java can be categorized in two form, built-in package and user-defined package.



There are many built-in packages such as java, lang, awt, javax, swing, net, io, util, sql etc.

How to access package in program?

There are three ways to access the package from outside the package.
  1. import package.*;
  2. import package.classname;
  3. fully qualified name.
To learn more about Java Package join with us @ TCCI Computer Coaching.

TCCI is located in Bopal and Satellite in Ahmedabad.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/engineering-courses/

No comments:

Post a Comment