这段代码的含义是什么?
super();
在构造函数内部做什么?
例如,这是我的类的构造函数:
public abstract class Rectangle extends AbstractShape
{
private double height, width;
// Constructors...
public Rectangle()
{
super(); //this is how i inherit that point!
height = -1;
width = -1;
}
这与超类有关吗?