How do abstract classes differ from interfaces?



How do abstract classes differ from interfaces?..

Answer / Deepali Sharma

An abstract class is a class that cannot be instantiated and is intended to be subclassed. It provides a general blueprint for a set of methods, but some or all of the methods may be unimplemented. An interface in Delphi defines a contract of what a class should do, without providing any implementation. A class implementing an interface must provide implementations for all the methods defined in the interface.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Add hint windows to applications?

1 Answers  


How to Use an animated cursor?

1 Answers  


what are Safe Mode and VGA mode?

1 Answers  


How to Connect via ODBC using Delphi or C++ Builder ?

1 Answers  


How to drop down a menu Programmatically ?

1 Answers  


How to Determine if a combobox is in dropped state?

1 Answers  


'General SQL Error : Connection does not exist' in threaded application . what does this indicates?

1 Answers  


How to Implement the VB TwipsPerPixel in Delphi ?

1 Answers  


How to Typecaste a PChar to a longint?

1 Answers  


How to Trapp non client areas ?

1 Answers  


How to Dynamically drawing a transparent image ?

1 Answers  


what is the Purpose of the interbase Client32 files?

1 Answers  


Categories