Interview Questions

What is class in Delphi?

Delphi Interview Questions


(Continued from previous question...)

What is class in Delphi?

In Delphi, a method is a procedure or function that performs an operation on an object. A class method is a method that operates on a class reference instead of an object reference.

If you read between the lines, you will find that class methods are accessible even when you haven't created an instance of the class (the object).

(Continued on next question...)

Other Interview Questions