What is java?
Java is a high level object oriented programming language
It is used built large software applications.
It was created by James Gosling at Sun Microsystems and released in 1995.
Java has a famous principle which is WORA "write once Run anywhere" which means if write a code in widows or any operating system you can use the code any operating system without change.
Java features:
Simple :
Why the Java is simple means compar with C++ this syntax is easy and understand able code.
Secure :
Java is a secured programming language because It has a inbuilt features It doesn't hava a pointers and No memory leakage.
Compare is C++ it has a pointer and it direct access in memory and disc. That time the memory is leaked. That why Java is a secured programming language
It runs inside JVM (Java virtual machine) if any virus is affected in compile time in runtime the JVM is filter the virus and run the code.
Platform-Independe:
Write once and run anywhere . Class file.
**High Performence:
Java is a fas CDter then python programming language
Multitasking:
Java can do the same time it will manage many tasks.
JDK(Java development kit)
JDK is a complete package used to develop Java applications.
It includes:
JRE (Java Runtime Environment)
Development tools like compiler (javac), debugger, etc.
Developers use JDK to write, compile, and run Java programs.
JRE (Java Runtime Environment)
JRE provides the environment to run Java applications.
It includes:
JVM (Java Virtual Machine)
Library classes
Other supporting files
Used by users who just want to run Java programs (not for development).
JVM (Java Virtual Machine)
JVM is the engine that actually runs Java programs.
It converts .class bytecode into machine code specific to the operating system.
It makes Java platform-independent.