Siemens Interview Question

java q's