There was class U1 extending class U. Class U was empty ...
In constructor U1 there was this first line, calling the constructor of the superclass ...
public U1(Plate plate, int order) { super(plate, order); ... }
Now I want to delete the class U1 and do in class U everything that has been done in U1 so far ... So, now I will not need to call the constructor of the superclass, since the class U does not have any superclass ...
Is this(plate, order) unnecessary and can I omit it?
Here's how my U constructor would look like this:
public U(Plate plate, int order) { this(plate, order); ... }
source share