Q. What would be the result if a class extends two interfaces and both have a method with same name and signature? Lets assume that the class is not implementing that method.

  • (A) Runtime error
  • (B) Compile time error
  • (C) Code runs successfully
  • (D) First called method is executed successfully
πŸ’¬ Discuss
βœ… Correct Answer: (B) Compile time error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
141
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Neelam Mittal
Publisher
πŸ“ˆ
87%
Success Rate