Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

I read thisthis question. The answer says that even in Java 8 (where we can have default methods in interfaces), we cannot have default constructors. And it says that it makes no sense.

Can someone explain why it doesn't make any sense or whatever the reason there is no support for default constructors in Java 8?

I read this question. The answer says that even in Java 8 (where we can have default methods in interfaces), we cannot have default constructors. And it says that it makes no sense.

Can someone explain why it doesn't make any sense or whatever the reason there is no support for default constructors in Java 8?

I read this question. The answer says that even in Java 8 (where we can have default methods in interfaces), we cannot have default constructors. And it says that it makes no sense.

Can someone explain why it doesn't make any sense or whatever the reason there is no support for default constructors in Java 8?

Source Link
Supun Wijerathne
  • 13.1k
  • 11
  • 73
  • 101

Why not default constructors in Java 8?

I read this question. The answer says that even in Java 8 (where we can have default methods in interfaces), we cannot have default constructors. And it says that it makes no sense.

Can someone explain why it doesn't make any sense or whatever the reason there is no support for default constructors in Java 8?