I think you might be under the impression that the arguments in the constructor of a subclass have to mirror the arguments in the constructor of its superclass, and this is not the case. A subclass...
Type: Posts; User: awinston
I think you might be under the impression that the arguments in the constructor of a subclass have to mirror the arguments in the constructor of its superclass, and this is not the case. A subclass...
For Square, you can just have one parameter for its constructor because it's length and width are the same.
However, I don't think it makes sense to have the right triangle extend Rectangle. A...