Why we need constructor inside an abstract class ? || Popular Java interview question

Hi coder!! This tutorial covers a complete abstract class example where we are going to learn why we need a constructor in abstract class. One of the differences between abstract class and interface in java is : The interface doesn’t have a constructor but the abstract class in Java can have constructor within it. Then […]

Continue Reading