Interview Questions

What is contained in the code Unit of Delphi?

Delphi Interview Questions


(Continued from previous question...)

What is contained in the code Unit of Delphi?

To add a new code unit in Delphi
choose File-New ... Unit.

//**blank code unit

unit Unit2;
interface
{interface code goes here}
implementation
{implementation code goes here}
end. //this ends the unit

(Continued on next question...)

Other Interview Questions