Java is a universal language in which you can write both frontend (development of user interface and functions that run on the client-side) and backend (set of hardware and software tools with which the logic is implemented).