+3 votes
in JAVA by
In a class implementing an interface, can we change the value of any variable defined in the interface in Java?

1 Answer

0 votes
by

No, we can’t change the value of any variable of an interface in the implementing class as all variables defined in the interface are by default public, static and Final and final variables are like constants which can’t be changed later.

...