-
All the variables of interface should be ?
-
- default and static
- default and final
- protect, static and final
- public,static and final
- None of these
Correct Option: D
Variables of an interface are public, static and final by default because the interfaces cannot be instantiated, final ensures the value assigned cannot be changed with the implementing class and public for it to be accessible by all the implementing classes.