What is Java?
Options
- A general-purpose, object-oriented language for backends (Correct option)
- A markup language used to describe the layout of web pages
- A database engine used to store and query structured data
- A web browser used to open sites and run page scripts
Answer
A general-purpose, object-oriented programming language widely used for backend and enterprise software
Why
Java is a programming language. Programs are made of classes, and the same compiled program can run on Windows, Linux or macOS because it runs on the Java Virtual Machine.
It is very common in banks, large companies, backend services and Android history. Frameworks such as Spring Boot make it popular for web backends.
Java is NOT JavaScript.
Remember
Java = object-oriented language that runs on the JVM.