GlobalLogic Interview Question

Java is applicable for real world entities? Explain this with any example.