Constructors are special methods that cannot be called using CALL METHOD.
Instead, they are called automatically by the system to set the starting state of a new object or class.
There are two types of constructors - instance constructors and static constructors.
To use them, you must declare them explicitly in the class.
No comments:
Post a Comment