Q. Which option is false about the final keyword?

  • (A) A final method cannot be overridden in its subclasses.
  • (B) A final class cannot extend other classes.
  • (C) A final method can be inherited.
  • (D) A final class cannot be extended.
πŸ’¬ Discuss
βœ… Correct Answer: (B) A final class cannot extend other classes.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
387
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Mahesh Chandra
Publisher
πŸ“ˆ
91%
Success Rate