Menu

#55 Implementing methods from an interface do not get public modifier

v1.0 (example)
open
nobody
None
5
2014-09-23
2014-09-23
Mark Paxton
No

In a java class diagram, create an interface with some public methods, create a class and a 'realisation' link to it the interface. In the class properties click on the button to implement the methods in the interface and select all.

The public methods generated this way are given default access level rather than public.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB