Skip to content

Commit

Permalink
[Add]: Java Images
Browse files Browse the repository at this point in the history
  • Loading branch information
omjogani committed Jan 28, 2024
1 parent 636e264 commit 61ca76a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _posts/2024-01-20-java-handbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Java is consider as fully object oriented. It seems controversial topic because
Java program is WORA (Write once run anywhere).

## How Java works?
// image

![JavaIntro-modified](https://github.com/omjogani/blogs/assets/72139914/b41a4e35-bedb-4dac-83f9-fb7fd58727fc)


When Java program compiles by `javac` compiler the Java code converted into `byte code` that is then understood by the JVM and then `byte code` is converted into `machine code`.

Expand All @@ -24,7 +26,7 @@ Java Virtual Machine is platform dependent that means it needs to be install on

JVM is used to convert `byte code` to `machine code`.

JVM consist of JIT (Just-In-Time) which is used to improve the performance by compiler the `byte code` to `machine code`.
JVM consist of JIT (Just-In-Time) which is used to improve the performance by compiling the `byte code` to `machine code`.

### JRE (Java Runtime Environment)
Java Runtime Environment consists of collection of library and other components for Java Program.
Expand Down

0 comments on commit 61ca76a

Please sign in to comment.