Coforge interview question

Oops based questions,array,basic string program ,and the pattern program .