JDK is a Java development kit( software development kit)
Provided by oracle.JDK helps to convert .java file into .class file
It helps to compile the java program
JDK is a platform independent
—- it support all kind of OS,Linux, iOS and all kind of processor.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.It is used to develop a Java applications.
To check the java is installed in in our machine
—- Cmd --> java --version ( to find the JDK version) which is we installedCompilation ---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)