File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes namespace Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "namespace" Watch "namespace" New topic
Author

namespace

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
Hi!

May someone explain about namespace in JAVA?And why is it used?

May you show usage of namesapce by a simple code in JAVA?
Anubhav Anand
Ranch Hand

Joined: May 18, 2007
Posts: 341

Namespaces are inherently not existent in Java. What we have is imports.

For importing the classes in IO package of Java you may say like

import java.io.*;
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9077
    
    9

Typing "namespace java" into Google turned up several interesting articles, including this page from the Java in a Nutshell book.


[How To Ask Questions On JavaRanch]
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: namespace