Using Netbeans, I want to put a package into another package. For example in Visual Studio 2008, I can have folder called “Nodes”, and another folder inside of Nodes called “Expressions”. How do I do this in Netbeans? I think a package in Java is equivalent to a folder in C#.
Share
For a package within a package, put the parent name, a period, and then the name of the child’s package like so:
Nodes.Expressions.It will appear as it’s own separate package in an IDE perhaps, but the folder hierarchy will be as you desire: Nodes/Expressions/[classes etc]