tags:

views:

44

answers:

2

In Eclipse, what is a "Package" explained in .NET terms?

+2  A: 

A package in java is most comparable to a namespace in .NET.

EDIT:

As pointed out by R0MANARMY, in Java the folder structure & where classes are dictate which package they belong to. In .NET classes can be marked as belonging to any namespace regardless of the folder they are in.

filip-fku
But without the miserably nested folder structure.
R0MANARMY
@R0MANARMY: Which make a Java class very easy to find...
Pascal Thivent
@Pascal Thivent: If you're looking for them on the file system, yes. It also make refactoring and moving classes between namespaces a pain in the ass. Six of one, half a dozen of the other really.
R0MANARMY
A: 

A Java package is something like a namespace in .NET

KroaX