adspace


Do you know what is the difference between an abstract class and an interface?

Answer Posted / Ashutosh Kumar Pandey

An abstract class can contain implementation details, as well as abstract methods that must be implemented by derived classes. An interface only defines a contract that specifies what members should exist in a class, but does not provide any implementation. Multiple classes can implement the same interface, while a class can inherit from one abstract class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1143