What are the features of Java?
Simple -> java is based on c, c++. so anyone know the first programming language i.e c then it is easy to learn java.
Object-Oriented -> this feature enables the structure of code easy to write and maintain. objects interact with each other to perform a specific task.
Portable -> java follows the principle WORA (write once read anywhere). in java the program is compiled into byte code in that way java program can run on any machine.
Platform Independent -> every programming language needs a platform (operating system) to be execute.
but, java programs i.e (byte code) run on any machine because each machine understands the byte codes.
Secured -> java uses the concept of byte with exception handling that enables it secured.
Robust -> java uses automatic memory management and garbage collection,, eception handling, type checking at compile time makes java a robust language.
Interpreted -> java compiles the sorce code in byte codes then it interprets by using Just-in-time (JIT) interprets at any machine for execution.
Multithreaded -> this feature allows a app to perform various tasks to perform simultaneously by assign a thread (responsible for performing single sub-task).
it uses multiple threads to perform different sub tasks of a task. it makes apps more responsive to the users.
Distributed -> it allows users to create distributed apps that runs on any machine over the internet.
High Performance -> this feature makes java faster because the source code is compiled in byte code thats makes it fast to execute on any machine.