I am just trying to understand why all fields defined in an Interface are implicitly static
and final
. The idea of keeping fields static
makes sense to me as you can't have objects of an interface but why they are final
(implicitly)?
Any one knows why Java designers went with making the fields in an interface static
and final
?