Q. In Java, what is the purpose of the final keyword when applied to a method?

  • (A) It makes the method non-final.
  • (B) It allows method overriding.
  • (C) It makes the method constant.
  • (D) It makes the method static.
πŸ’¬ Discuss
βœ… Correct Answer: (C) It makes the method constant.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
199
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
97%
Success Rate