✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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(); }