Java is used for:
Mobile App Development
Desktop GUI Applications
Web Applications
IoT Applications
Gaming Applications
Big Data Technologies
Distributed Applications
Cloud-based Applications