Рет қаралды 52,031
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 the question we can’t create an object for
both abstract class and interface then why abstract class can have a constructor when the
the interface doesn’t.
So let's understand this thing with an abstract class program which is a very popular java interview questions .(core java interview questions)
Please subscribe to my channel if like this tutorial by clicking on the link below.
/ @seleniumexpress
Stay tuned and like my Facebook page for more.
/ seleniumexpress
Music :
-----------
credits : -
Adventures by A Himitsu / a-himitsu
Creative Commons - Attribution 3.0 Unported- CC BY 3.0
creativecommons....
Music released by Argofox • A Himitsu - Adventures...
Music provided by Audio Library • Adventures - A Himitsu...
-----
intro template :
wkzfaq.info