HSBC interview question

Given the executable of java program, Is is possible to execute program in program itself ?