In a class implementing an interface, can we change the value of any variable defined in the interface?

By drakula david in 22 Sep 2023 | 11:38 am
drakula david

drakula david

Student
Posts: 128
Member since: 22 Sep 2023

In a class implementing an interface, can we change the value of any variable defined in the interface?

22 Sep 2023 | 11:38 am
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

- Interface variables are implicitly `public`, `static`, and `final`. You cannot change their values in implementing classes.


23 Sep 2023 | 04:12 pm
0 Likes

Report

Please describe about the report short and clearly.