DEV Community

pranavinu
pranavinu

Posted on • Edited on

JDK

JDK - java devolepment kit,
1)It is software devolepment tool, used for building a java application. it provide a more number of things that is related to devolep a java application.
2)It will check the file if there is any syntex error is avaiable
3) if the file contains no error - it will generate a .class file
4) if the file contains an error - the line will be shown and show an exact error
4)jdk will convert the .java file into the .class flie
5)class file can run a program in different os
6)class file is an unreadeable file

7)class file is only used to run a program and can't be modified or overwrite.

compilation steps
step 1: check the java version in comand promt
by (java --version)
step 2): compile the file by(javac filename.java)

Top comments (0)