How to Draw a Class Diagram with Separate Distinct Classes with Same Name?
Users are not allowed to give same name to two different UML classes when the classes are put under the same parent. It is like you cannot have two physical files with same name in same directory, or having two Java classes with same name under same package.
If you really need to draw two different classes in a class diagram but with same name, please check if you are really doing something legit. This article is written to give you some helps.
Read more