+1 vote
in JAVA by (6.0k points)
What is an abstract class? How is it different from an interface?

1 Answer

0 votes
by (30.7k points)
One more classic question from Programming Job interviews, it is as old as chuck Norris. An abstract class is a class which can have state, code and implementation, but an interface is a contract which is totally abstract. Since I have answered it many times, I am only giving you the gist here but you should read the article linked to answer to learn this useful concept in much more detail.
Click here to read more about JAVA
Click here to read more about Insurance

Related questions

+1 vote
asked May 24, 2019 in JAVA by rajeshsharma (23.1k points)
+1 vote
asked May 25, 2020 in JAVA by Robindeniel (19.7k points)
...