Cognizant Interview Question

why java is independent compared to other languages