Q. In Java, what does the "final" keyword indicate when used with a method?

  • (A) The method cannot be overridden in subclasses
  • (B) The method is a static method
  • (C) The method is a constructor
  • (D) The method cannot be accessed from other classes
πŸ’¬ Discuss
βœ… Correct Answer: (A) The method cannot be overridden in subclasses

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
137
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sandhya Thakur
Publisher
πŸ“ˆ
91%
Success Rate