DEV Community

Divya bharathi G
Divya bharathi G

Posted on

Introduction to Java

Computers only understand binary language (1s and 0s), but humans write

programs in high-level languages like Java.

1.How does Java code written by humans get executed by machines?
It uses Translation system(JDK → JRE → JVM → JIT) to convert Programming language to Machine Language.

2.What is JDK?
-> JDK is Known as Java Development Kit.
-> We should save the java file as .java (Eg:Sample.java).
-> If there is no error in the .java file then it convert .java file into .class file (Eg:Sample.java will be converted into Sample.class file)
-> Where .java file is a readable file and .class is a unreadable file.
->If there is a error it will shown specifically like line 3.

Top comments (0)