IBM Interview Question

c & java