What if we make the method as abstract in another interface?
Answer / Sulekha Kumari
If a method is declared as abstract in another interface that an implementing class already implements (either from the original interface or the base class), it results in a compile-time error. This is because a class cannot implement two conflicting abstract methods with the same name and signature.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of late binding in object-oriented programming?
explain the difference between operator overloading and function overloading.
Explain the abstract class modifier?
What is @functionalinterface?
What is operator overloading and polymorphism?
1 Answers ITC Indian Tobacco Company,
What are all the languages which support oop?
What is the use of interface?
What are different types of arguments?
What if we make the method as abstract in another interface?
What do you meant by "SBI" of an object?
Where shall I go for Package Diagram?
Why is java not fully objective oriented?