You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
3Good answer - posting some code examples would improve youir chances of upvotes.OldCurmudgeon– OldCurmudgeon2015年09月15日 08:58:10 +00:00Commented Sep 15, 2015 at 8:58
-
@OldCurmudgeon Nope. you can't do that in older versions.Suresh Atta– Suresh Atta2015年09月15日 08:59:44 +00:00Commented Sep 15, 2015 at 8:59
-
@sᴜʀᴇsʜᴀᴛᴛᴀ - Oops! Thanks for the heads-up.OldCurmudgeon– OldCurmudgeon2015年09月15日 09:00:45 +00:00Commented Sep 15, 2015 at 9:00
-
default method is another type of method that is allowed in interfaces in Java8. They contain a body and can be overridden by implemented classes. However static methods cannot be override.Jawad– Jawad2015年09月15日 09:04:00 +00:00Commented Sep 15, 2015 at 9:04
-
@DanyalSandeelo Did you go through the official doc provided in my answer?Suresh Atta– Suresh Atta2015年09月15日 09:04:09 +00:00Commented Sep 15, 2015 at 9:04
lang-java