How to show this class in a UML diagram?
abstract class Point{
abstract String getXPoint();
abstract String getYPoint();
}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For example, With
<<abstract>>next to the class name, an inheritance mapping (if any class implements it) and the method declaration in italic and bold.Also, I’ve seen many diagrams that take the poetic license of explicitly adding abstract before the method’s name but I’d stick to pure UML.
Note: I assume your abstract methods are public.