Q. What is the purpose of an abstract class in Java?

  • (A) To declare abstract methods
  • (B) To provide a base class with common methods and fields
  • (C) To make a class final
  • (D) None of These
πŸ’¬ Discuss
βœ… Correct Answer: (B) To provide a base class with common methods and fields

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
101
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ritu Nagar
Publisher
πŸ“ˆ
96%
Success Rate