MyEclipse: void as a return type

julie.allinson - Oct 21, 2011 - 09:53 AM
Post subject: void as a return type
I'm creating class diagrams in UML, and can't figure out how to add 'void' as a return type. Can anyone point me in the right direction?
support-swapna - Oct 24, 2011 - 06:45 AM
Post subject:
julie.allinson ,

When you add a new operation to the class, by default the return type is void. You can verify it from menu UML2 > Generate Java. The generated java class for the uml diagram will have the return type as void for the operation.

Let us know if you any questions.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits