DEV Community

Karthick M
Karthick M

Posted on

Day-1 JDK and it’s uses

  1. JDK is a Java development kit( software development kit)
    Provided by oracle.

  2. JDK helps to convert .java file into .class file

  3. It helps to compile the java program

  4. JDK is a platform independent
    —- it support all kind of OS,Linux, iOS and all kind of processor.

  5. In the java program it will compile and check the error.
    If it's correct it will convert into .class file format.
    Otherwise it will show the error
    Eg. Error --> 3rd line error
    Correct --> it will give .class file.

  6. It is used to develop a Java applications.

  7. To check the java is installed in in our machine
    —- Cmd --> java --version ( to find the JDK version) which is we installed

  8. Compilation ---steps
    2) compiler -->> javac Sample.java
    Eg. Javac filename.java

Example :-
sample.java into—>sample.class file.
.class file is an unreadable file.

Top comments (0)