Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Interface remain fully abstract after adding default method in java 1.8?

Is Interface remain fully abstract after adding default method in java 1.8?

I am sorry if I was not able to state the question clearly.

like image 980
Rahul Agrawal Avatar asked Mar 25 '26 11:03

Rahul Agrawal


1 Answers

JLS8 §9.1.1.1. (Abstract Interfaces) clearly states (emphasis mine):

Every interface is implicitly abstract. This modifier is obsolete and should not be used in new programs.

Besides that, the term "fully abstract" does not make sense to me. What should it mean? What would "partially abstract" mean? There is no concept like that.

like image 170
Seelenvirtuose Avatar answered Mar 26 '26 23:03

Seelenvirtuose



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!