answersLogoWhite

0

A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.

Example: Put the following at the beginning of your Java source code:

package samplePackage;

A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.

Example: Put the following at the beginning of your Java source code:

package samplePackage;

A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.

Example: Put the following at the beginning of your Java source code:

package samplePackage;

A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.

Example: Put the following at the beginning of your Java source code:

package samplePackage;

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Supermost package of java?

The supermost package of Java is the "java" package.


What is a collection of related classes called in java?

a package


What are the feature's of the Java 'this' installation package?

The Java 'this' installation package allows one to create installation programs for their Java based applications. One can download the program from Java.


What is THE definition of advance java?

Advance java is the implementation of servlet in web pages.


What is the use of a package?

Packages in Java are used to group classes that are for a similar purpose. For example all Data Access components may be grouped into a package called "dao"


What is the definition of java listener?

but is java listener


Which package is inbuilt in java API?

The java.lang package is automatically imported for you.


What is a default package in Java?

A default package is a package with no name. You can create a Java class without putting package name on top of the code. This class is included in the "default package". Be careful not to be confused with java.lang, which is a package that contains Java's fundamental classes and get's imported by default.


What is user define package?

A user defined package is a package outside of the standard Java libraries.


What is the library in java which does not need to be imported?

The java.lang package in Java is automatically imported for you.


Import a package second time in Java?

You can import a package as many times as you want in Java. The compiler will just ignore any duplicates.


Is it possible to draw in java without using applet?

Yes it is possible to draw in java by using AWT package. or by using javax package.