Informatica Interview Question

Why Java is platform independent.