posted 9 years ago
I was going through java8 new features in that i found Defender method my question is:
Why concrete method is allowed in interface by declaring with default ? and what is the use of it? In abstract class also concrete method as well as abstract method is allowed and in interface then what will be the diffrence between abstract class and interface?
Thanks in Advance!!!