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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Default Packages" Watch "Default Packages" New topic
Author

Default Packages

Gautam Bhalla
Ranch Hand

Joined: Mar 31, 2013
Posts: 30

Hi guys Please help me to resolve the following confusion,

What exactly is a default packages that are used when we not supply the one................How they are actually perceived by the compiler............Do the really exist or not because javap tool isn't showing anything about their existence?

[Edit: removed the bold -- it was hurting my eyes]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
Yes of course the unnamed package exists. Packages are converted to directories.
I suggest you start by reading the Java Tutorials.
Gautam Bhalla
Ranch Hand

Joined: Mar 31, 2013
Posts: 30

Got it I'l take care in future
Gautam Bhalla
Ranch Hand

Joined: Mar 31, 2013
Posts: 30

Gautam Bhalla wrote:Got it I'l take care in future


I have got the answer may be this was a small hole in my understanding of packages.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Default Packages
 
Similar Threads
Netbeans(tomcat) and custom tag develop
Declaration and Access Control
java library and public member functions (? c++ friends)
unable to run servlets
can we create object of the interface and what is the base package of java ?