Since Java 8, which keyword allows a method of an interface to have a body that the implementing classes inherit unless they override it?
- Aabstract
- Bfinal
- Cdefault
- Dsynchronized
Correct answer: C
Since Java 8, which keyword allows a method of an interface to have a body that the implementing classes inherit unless they override it?