Given:
Which two method invocations execute? (Choose two.)
Given:
Which two method invocations execute? (Choose two.)
The given interface IFace includes methods m1, m2, m3, and m4. Method m2 is default and can be invoked using an instance of a class that implements IFace. Method m3 is static and can be called using the interface name IFace directly. Method m4 is private and cannot be accessed outside the interface. Therefore, options involving method m4 would not compile. Option A, which calls the default method m2 using an instance of MyC, and option E, which calls the static method m3 using the interface name IFace, are the correct answers.
A and E correct!:)
A&E are correct