I was reading about Interfaces in a Book and I came upon this Line that confused me.
Interfaces are syntactically similar to classes, but they lack instance variables.
As far as I know about Interfaces
, we can define variables inside an Interface which are by default final
.
My question is, What does that Line
mean? and What is the Difference between an Instance Variable
and the Variable defined in the Interface
??