Where would you use Abstract class and Interface?

Answer Posted / vijay

You can offer the best of both worlds, an interface and an
abstract class. Implementors can ignore your abstract class
if they choose. The only drawback of doing that is calling
methods via their interface name is slightly slower than
calling them via their abstract class name.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Described strong typing

655


Name some of the features of C# which are not present in VB.NET?

644


Explain the difference between value and reference types?

545


List the types of generations in garbage collector?

606


Explain what observations between vb.net and vc#.net?

622






Explain the difference between vb 6 and vb.net?

617


Which control is an example of an object in vb net?

6574


Using VB, how can you change the Mouse Pointer?

715


Explain about the performance of visual basic?

678


Explain about the ruby interface generator?

637


What is early binding?

600


What are the advantages of vb.net and c#?

736


How do you use two datareaders at the same time in a vb.net windows application ?

643


What is the maximum size of the textbox?

610


what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.

2053