PratikaPro Interview Question

Why is java platform independent?