HSBC Interview Question

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