All Questions
6 questions
1
vote
3
answers
757
views
Design with subclasses being aggregates of classes implementing interfaces
I have modelled a class structure, where subclasses Rectangle and Circle inherit from an abstract superclass Figure. All subclasses share an interface IGeometry that provides for getArea() and ...
-3
votes
1
answer
1k
views
How to know if the UML class diagram design is good (well-planned) or not in java
I've learned the UML recently and I am trying to build a MonsterDuel system. However, there are a lot of classes in this project, and I am confused about the abstract class and its usage. Now, I have ...
-1
votes
1
answer
407
views
Problem with OOP design
I have a problem with design a few simple classes. I want a four classes: one recursively delete directory, another copy one dir to another same way. Another two does same as first two but they add ...
4
votes
1
answer
5k
views
Which is better of these two class diagrams for calculator project and why?
I'm a novice programmer i draw two class diagrams for calculator Project, i want you to check each one of them and tell me which one is better and also, i would appreciate it if you point out the ...
0
votes
1
answer
4k
views
How do you write super() in the UML format?Is it correct to write super(parameter: type): return type in the UML methods section?
Suppose you write a subclass that extends to a certain class and in that subclass, you use the super() method for your constructor.
Would you write "super(parameter: type): return type" in the UML?
2
votes
1
answer
2k
views
My UML class diagram is too complicated, what should I do?
Classes have 10-20 links with one another and you can't see anything in that mess of a diagram
Unfortunately we finished coding already and if we change the class diagram we have to redo the whole ...