logo

Crowdly

Browser

Add to Chrome

What would happen if a class implements two interfaces, and both interfaces have...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What would happen if a class implements two interfaces, and both interfaces have a method with the same name and signature, but with different return type? For example: 

public interface Car { 

void speed();

}

public interface Car2 {

int speed();

}

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on learning.monash.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome