- Historical past of Java
- What’s JDK
- Options of Java
- Pattern program
Historical past of Java
Java is Object oriented, Multi-threading language developed by Solar Microsystems in 1991.
It’s designed to be small, easy and transportable throughout completely different platforms in addition to OS.
What’s JDK
JDK stands for Java improvement Equipment.
There are two elements: Java Compiler and Java Interpreter (JVM).
Java Compiler generates bytecode as an alternative of machine code and interpreter executes java
program.
What’s bytecode?
Bytecode is a set of directions that resemble machine code however usually are not particular to any
processor.
The drawback of utilizing bytecode is the execution velocity. Since system particular applications
run instantly on the {hardware}, they’re sooner than the Java bytecode.
Options of Java
- Syntax based mostly on C++
- Object-oriented
- Help for Web functions
- Intensive library of prewritten lessons
- Portability amongst platforms
- Constructed-in networking
- Safety as JRE is inaccessible to different elements of laptop.
- Device for encapsulating information and operations (strategies) into one package deal
- Defines a template or mannequin for creating and manipulating objects
Objects
- Knowledge created utilizing the category and its strategies
- An object is an occasion of the category
- Creating an object is instantiation
- Nicely-written lessons will be reused in new functions
- Shortens improvement time as a result of programmers don’t want to put in writing new code
- Applications are extra strong as a result of the category code is already examined
Supply projectgeek.com