Wednesday 29 June 2016

java - Why exactly do subclass constructors have to explicitly call super class constructors?







Why exactly do subclass constructors have to explicitly call super class constructors? What is the reason for this?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...