Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Private constructor

Hi Gurus,

I have a question. I know that there is a constructor in ABAP Objects and it is declared in Public class. But i would like to know that how do we make a constructor as private. Please let me know your feedbacks.


Siby Chakko.


Hi Siby,

have you ever heard about the Singleton Class. It is declared aa Private.

The constructor in the class may be called as Private class.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question