A

Admin • 831K Points
Coach

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

  • (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
  • Correct Answer - Option(D)
  • Views: 13
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.