Quoting from Wikipedia – Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented.
So, what does that mean?
- Java can execute several computations in overlapping time periods – for example, multithreading is used to execute several tasks at the same time.
- Java has classes – therefore you can use inheritance and encapsulation.
- Java has objects – you can define attributes of the object and use them in the code.
Other Features Developing Java
- Java uses a compiler – when developing Java, you need to use a Java Development Kit (JDK) to compile the code into byte code that is run on a Java Virtual Machine (JVM)
- Write once, run everywhere – Wikipedia, you can run Java bytecode on any JVM on any machine, what this means is you do not need different flavours of code to run on different systems like Linux and Microsoft – providing they have a JVM, you can run the code on all of them.