Abstract keyword is used to define a method as abstract or any class as abstract. A class is defined as abstract when it contains at least one method as abstract. It can contain the other methods that are not abstract. Well interfaces are classes which have all the methods that are not implemented. These came to arise because of the indirect implementation of Multiple Inheritance. The interfaces are designed to implement multiple inheritance. And the abstract classes can be extended by a wide variety of classes that implement that abstract methods.
Hope i explained the query correctly..
Bye
Venu
Originally posted by Anuja:
What is Abstract keyword and Interfaces?
Would you please explained by an example?
Thanks a lot!
Regards,
Anuja