πŸ“Š JAVA
Q. What happens when a constructor is defined for an interface?
  • (A) Compilation failure
  • (B) Runtime Exception
  • (C) The interface compiles successfully
  • (D) The implementing class will throw exception
πŸ’¬ Discuss
βœ… Correct Answer: (A) Compilation failure

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
101
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
97%
Success Rate