facebook

void as a return type

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #320602 Reply

    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?

    #320641 Reply

    support-swapna
    Moderator

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: void as a return type

You must be logged in to post in the forum log in