Q. Which of the following is the correct way of implementing an interface A by class B?

  • (A) class B extends A{}
  • (B) class B implements A{}
  • (C) class B imports A{}
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) class B implements A{}

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
115
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Ram Avtar Sharma
Publisher
πŸ“ˆ
81%
Success Rate