Capgemini interview question

Why there are no pointers in JAVA?