Q. In Java, can a subclass override a final method from its superclass?

  • (A) Only if the final method is marked as "static"
  • (B) Only if the subclass is marked as "final"
  • (C) No, final methods cannot be overridden
  • (D) Yes, a subclass can override final methods
πŸ’¬ Discuss
βœ… Correct Answer: (C) No, final methods cannot be overridden

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
174
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
82%
Success Rate