Solved

If You Have Multiple Classes in Your Program That Have

Question 22

Multiple Choice

If you have multiple classes in your program that have implemented the same interface in different ways, how is the correct method executed?


A) The Java virtual machine must locate the correct method by looking at the class of the actual object.
B) The compiler must determine which method implementation to use.
C) The method must be qualified with the class name to determine the correct method.
D) You cannot have multiple classes in the same program with different implementations of the same interface.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents