Robert

53%
Flag icon
because constructors can't be overridden.
Robert
wha???
Brian
· Flag
Brian
? the parent constructor is still there (and you're probably going to call it, right?)
Robert
· Flag
Robert
I think this is just a somewhat esoteric interpretation of the "override" term (and I think mostly why I called this out is that it doesn't seem to be useful to point out here). You can create a const…
Effective Java: A Programming Language Guide (Java Series)
Rate this book
Clear rating
Open Preview