What are the main features of Java?
- Object oriented: code is organized in classes and objects (inheritance, polymorphism, encapsulation, abstraction).
- Platform independent: the compiler makes bytecode, which runs on any JVM.
- Strongly typed: every variable has a type and the compiler checks it.
- Automatic memory management: the garbage collector frees the unused objects.
- Multithreaded: a program can do many jobs at the same time.
- Secure and robust: no pointer arithmetic, good exception handling and a security manager model.
- Rich standard library: collections, files, networking, dates and much more.
- Simple syntax: it looks like C and C++, but it is simpler and safer.
See What is Java? for more details.
Learn more about the similar topics:
| Tutorials |
|---|
| Java Introduction |
| What is Java? JDK, JRE and JVM |
| Java Install and Setup |
| Your First Java Program: Hello World |
| Java Syntax |
| Java Comments |
| Java Cheat Sheet |
| Exercises & Assignments |
|---|
| No Content Found. |