1.

What Are The Types Of Constructor's In Ooabap ? Explain ?

Answer»

CONSTRUCTOR's are special type of METHODS, constructor method is EXECUTED automatically whenever a object is created or instantiated.

  • Constructor: This method is executed automatically whenever object is created, this is used to set DEFAULT values with respect to instance/object. The NAME of the constructor method is CONSTRUCTOR.
  • Static Constructor: This method is executed automatically whenever object is created, this is used to set default values globally irrespective of instances/objects.The name of the static constructor is CLASS_ CONSTRUCTOR.

CONSTRUCTOR's are special type of methods, constructor method is executed automatically whenever a object is created or instantiated.



Discussion

No Comment Found