News

When designing applications, it is important to know when to use an abstract class and when to use an interface. Although abstract classes and interfaces seem similar in some ways, there are key ...
Methods in interface are by default abstract and public, java 8 can have body to the methods. Abstract class can have both abstract and non-abstract methods. To be used needs to use extends keyword.
While Designing applicaiton we need to design carefully. Basically, Interface is used in most of the cases where we need to use contract. Contract will have list of method signatures only and we will ...
An interface in C is not a keyword or a built-in type, but a convention that programmers use to achieve a form of polymorphism. Polymorphism means that you can use different types of objects ...
Interface can have public method only it it. Abstract can attend only on class at a time. Abstract class can extend from both abstact class and class. A class can extend only one abstract class.