πŸ“Š JAVA
Q. Abstract class is ___.
  • (A) Created using abstract keyword
  • (B) Contains only abstract method
  • (C) Needs to be inherited to be used
  • (D) All of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of these

Explanation: An abstract class is a class that contains an abstract method. It is defined using abstract keyword only has method declarations and to use these methods, the abstract class needs to be inherited.

Explanation by: Team MCQ Buddy
An abstract class is a class that contains an abstract method. It is defined using abstract keyword only has method declarations and to use these methods, the abstract class needs to be inherited.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
296
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate