Infosys BPM Interview Question

Oops , basic coding , Functions , constructors. ,basic program