Page 1 of 1

What happens when we access the same variable defined in two interfaces implemented by the same class?

Posted: Wed Jul 13, 2022 7:50 pm
by answerhappygod
a) Compilation failure
b) Runtime Exception
c) The JVM is not able to identify the correct variable
d) The interfaceName.variableName needs to be defined