This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 39102
    
  23
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.
 
GeeCON Prague 2014
 
subject: Default Packages