Multiple choice

Which of the following is/are not the difference(s) between Abstract Class and Interfaces? (a) A class can implement several interfaces but may extend only one abstract class. (b) No constructors are provided by interfaces, while abstract class provides constructors. (c) Variables in interfaces must me public, static or final. There is no such restriction in abstract class.

  1. Only (a)

  2. Only (a) and (b)

  3. Only (b) and (c)

  4. All (a), (b) and (c)

  5. None of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

None of the above s correct answer as all a,b,c are the differences between interface and abstract class.