Java Public Classes

Java allows the creation of multiple classes in a single file but one class, and only one, has to be public.

In PowerDesigner, you should create one public class and several dependent classes and draw dependency links with stereotype <<sameFile>> between them. This type of link is handled during generation and reverse engineering.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com