MCQs > IT & Programming > Object Oriented Programming (OOP) > What is the difference between an interface and an abstract class?

Object Oriented Programming (OOP) MCQs

What is the difference between an interface and an abstract class?

Answer

Correct Answer: Abstract classes can contain code or data. Interface do not contain code or data. A class can inherit from only one abstract class but can implement an unlimited number of interfaces

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Object Oriented Programming (OOP) Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Object Oriented Programming (OOP) Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it