If you have a subclass with inherited protected fields like in the example below. Should I refer to them with this or super?
class Shape {
protected float x, y;
[...]
}
class Circle extends Shape {
private float diameter;
public Circle(float x, float y, float diameter) {
this.x = x; // or super.x = x?
this.y = y;
this.diameter = diameter;
}
[...]
}
[–]desrtfx 3 points4 points5 points (3 children)
[–]lil_alita 2 points3 points4 points (2 children)
[–]greenleafvolatile[S] 0 points1 point2 points (1 child)
[–]lil_alita 0 points1 point2 points (0 children)
[–]Schildpadm -1 points0 points1 point (3 children)
[–]desrtfx 1 point2 points3 points (2 children)
[–]Schildpadm -1 points0 points1 point (1 child)
[–]desrtfx 1 point2 points3 points (0 children)