Home > Back-end >  Java small white online to collapse
Java small white online to collapse

Time:09-26


Interface definitions are abstract method, didn't write the abstract as it will automatically add, why detail5 can exist, the static and the abstract is not cannot coexist

CodePudding user response:

The
refer to the original poster bedding face dumplings response:

Interface definitions are abstract method, didn't write the abstract as it will automatically add, why detail5 can exist, the static and the abstract is not cannot coexist



The new version of the new feature, you don't think that interface joined the abstract method? Detail5 is abstract method,

CodePudding user response:

reference 1st floor qq_39936465 response:
Quote: refer to the original poster bedding face dumplings response:


Interface definitions are abstract method, didn't write the abstract as it will automatically add, why detail5 can exist, the static and the abstract is not cannot coexist



The new version of the new feature, you don't think that interface joined the abstract method? Detail5 is abstract method,

Ah? I only know that after jdk8.0 can define the default method but have to add the default

CodePudding user response:

refer to the second floor bedding face dumplings response:
? I only know that after jdk8.0 can define the default method but have to add the default


You can take a look at the following article

https://blog.csdn.net/fengchengwu2012/article/details/95047539

CodePudding user response:

reference qq_39936465 reply: 3/f
Quote: refer to the second floor bedding face dumplings response:

Ah? I only know that after jdk8.0 can define the default method but have to add the default


You can take a look at the following article

https://blog.csdn.net/fengchengwu2012/article/details/95047539

Thank you very much
  • Related