Skip to content

As we know interface cannot not have method body.From java 8,interface are enhance to have method with implementation. we can use default and static keyword to create interfaces with method implementations. We know that java doesn't have multiple inheritance in classes because it leads to Diamond Problem. so how it will be handle interfaces now…

Notifications You must be signed in to change notification settings

vaibhavchugh09/Java18_feature_default__static_methods_in_Interfaces

About

As we know interface cannot not have method body.From java 8,interface are enhance to have method with implementation. we can use default and static keyword to create interfaces with method implementations. We know that java doesn't have multiple inheritance in classes because it leads to Diamond Problem. so how it will be handle interfaces now…

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages