answersLogoWhite

0

What are the packages used in java?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

package is a logical container that contains logically related classes interfaces and sub packages.

Concept of package is use to provide a unik name space to class as well as to enforce scope.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the packages used in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many packages in java and show the list?

There are almost 200 packages in the standard J2SE distribution. Please see the related link below detailing the Java API (for Java 7) for a full listing.


Where can Java be used?

Java is a computer programming language, and can work across many different operating systems. Due to its versatility it is used in many software packages, e.g. games, graphic's software, etc.


Is header files in c are similar to packages in java?

No.


How packages are created in java?

jvac -d classname.java


What are the different types of package in java?

1.user defined packages 2.predefined packages


What is Packages in Java programming?

basically packages are a collection or a directory of similar classes. there are some inbuilt packages in java which prove to be really useful like the java.lang package which automatically is imported into your program. in addition you can also create your own packages and its really simple to create them! :)


How does Sun recommend that Java namespaces be used to guarantee unique namespaces even when installing third party packages?

1


How to save and compile packages in java?

by adding more documents


What do you need JDK?

JDK stands for Java Development Kit. This contains the Java compiler, Interpreter and other tools that Java provides. It also contains all Java default packages and classes that can be used for development of Java Applications. JDK versions are continuosly released and upgraded every year by Sun Microsystems.


What is the main feature of the programming language Java Classpath?

Java Classpath is a parameter that tells the Java Virtual Machine or the Java Compiler, where to search for user-defined classes and packages on a computer.


What are packages in java environment?

A package is used to group related classes. Each class in the group is identified by the "package" keyword, followed by some keyword for the group.


List two methods to import java packages?

Java packages can be imported using the import key word in java. There are two ways of importing java programs. 1. you can import the class along with the fully classified class name. Ex: import java.lang.String; 2. you can import all classes in a package using the star symbol. Ex: import java.lang.*;