+ 1

Is it possible to create default method in interface??

13th Aug 2019, 3:53 PM
Shahid Iqbal
Shahid Iqbal - avatar
3 Answers
+ 2
Yes, you can declare default methods in interfaces from java 8 onwards.
13th Aug 2019, 8:04 PM
Steven Trippier
Steven Trippier - avatar
+ 1
You can create a static method?
13th Aug 2019, 7:05 PM
D_Stark
D_Stark - avatar
+ 1
Ahh okay :)
13th Aug 2019, 9:05 PM
Shahid Iqbal
Shahid Iqbal - avatar