Tuesday, 10 September 2013

Why would someone intentionally implement the default implementation of the default constructor?

Why would someone intentionally implement the default implementation of
the default constructor?

Just removed the following code from a colleague's code:
public ClassName() {
super();
}
I just want to make sure I did the right thing. Why would someone
intentionally write this? This is exactly what the compiler inserts by
default isn't it?

No comments:

Post a Comment