Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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?
gordon sung's user avatar
2 votes
3 answers
6k views

Calling a constructor from a parent class in a derived class

I'm trying to create a parent class with a constructor that takes a single int as a parameter. I also need to derive a child class that creates two instances of the parent class using a constructor ...
benzeneAlanine's user avatar