πŸ“Š JAVA
Q. Which keyword is used to prevent inheritance?
  • (A) static
  • (B) final
  • (C) const
  • (D) private
πŸ’¬ Discuss
βœ… Correct Answer: (B) final

Explanation: The 'final' keyword prevents class inheritance.

Explanation by: Roshan
The 'final' keyword prevents class inheritance.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2
Total Visits
πŸ“½οΈ
6 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
95%
Success Rate