answersLogoWhite

0


Best Answer

1

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does Sun recommend that Java namespaces be used to guarantee unique namespaces even when installing third party packages?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Importance of computer packages in construction?

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality. 1. A package provides a unique namespace for the types it contains. 2. Classes in the same package can access each other's members.


What is the difference between inheritance and packages?

Inheritance is a means where a class borrows ("inherits") functionality from a base class, usually as a means of code reuse; the subclass will often add additional functionality or modify the behavior of the base class. Packages are simply a way of organizing code into namespaces, such that: Only classes that are actually part of the application logic are included, to prevent conflicts from classes that have the same name, and to logically organize code so that similar functionality can be grouped together.


How many packages available in java?

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality.· A package provides a unique namespace for the types it contains.· Classes in the same package can access each other's members.package is a container in which similar classes are grouped together.package avoid the redundance of classes. it also provide security to hide the code only by importing the packege which contains the required class.


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! :)

Related questions

Is namespace supported by oop?

No. A namespace is a language feature not an OOP feature. Java, for instance, doesn't use namespaces, it uses packages. Although similar in some ways, packages impose additional restrictions. E.g., packages have an impact on accessibility whereas namespaces and accessibility are orthogonal. Moreover, the directory structure must match the package structure (each file must be associated with one and only one package), whereas you can have multiple namespaces in the same file.


Where do I look for cheap travel packages?

If you are looking for cheap travel packages I would recommend going priceline.com They have plenty of deals on all sorts of travel packages. You are sure to find an awesome deal on their website.


Where can one get a list of free web design packages?

You can get a list of web design packages at www.sdgwebdesign.com/web-design-packages or web-design-list.com. I would recommend you should use wordpress or Drupal package for the best.


Which computing magazines will recommend the best antivirus software packages?

Magazines like PC magazine, Laptop Magazine and PC world will recommend the best anti virus software packages by use of unbiased professional reviews.


Two advantages of an integrated package such Microsoft publisher?

by selling the software in packages, it will save the users the hassle of installing the software one by one.


What would be the rent of a house?

Different houses have different rental packages but if you want to get a house at affordable package then I recommend a rental company which offers most suitable rental packages.


can you recommend any travel packages for Spain?

I recommend going to either tripadvisor.com or goaheadtours.com where you can find a travel package for Spain. These websites have great package deals.


Where can I find great Florida vacation packages?

Well, I would recommend going to Hotwire because they offer a variety of vacation packages for a variety of places or destinations to travel to. They also offer their services and vacation packages for an incredibly reasonable price.


What are some available Atlantic City gambling packages?

If you look in the Atlantic City, website you will find numerals plans and gambling packages and any of then is guarantee to make you save money while having a good time in Atlantic City.


Where can I find the best vacation packages online?

Purchasing a vacation all at once can sometimes get you a better deal. I would recommend trying orbitz.com they offer many different packages for travel.


Where do i find good vacation packages?

I would recommend you to try to check travelocity.com because they really offers very good and cheap deals when it comes to vacation packages, based on my own experience.


Importance of computer packages in construction?

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality. 1. A package provides a unique namespace for the types it contains. 2. Classes in the same package can access each other's members.